This test passes if it does not crash.
X
3
Y
3
X
3
2
Y
3
2