		int dx = abs(bx - x), dy = abs(by - y);
		if (!((dx == 1 && dy == 2) || (dx == 2 && dy == 1))) {
			//cout << bx << ", " << by << " => " << x << ", " << y << endl;
			invalid = true;
		} else {
			VIS[y][x] = 1;
		}
		bx = x, by = y;
	}
	
	int total = 0;
	for (int i = 1; i <= 6; i++)
		for (int j = 1; j <= 6; j++)
			total += VIS[i][j];