for (int c0 = 1; c0 <= 5; c0 += 1)
if (c0 <= 3 || (b == 1 && t1 + c0 >= 10) || (t1 == 5 && b == 1 && c0 == 4))
for (int c1 = t1 - 64 * b + 64; c1 <= min(70, -c0 + 73); c1 += 64)
if (c0 <= 3 || (t1 + c0 >= 10 && c1 == t1) || c1 == 5)
A(c0, 64 * b + c1 - 8);