1 2 3 4 5 6 7 8 9 10 11
inp w add z w mod z 2 div w 2 add y w mod y 2 div w 2 add x w mod x 2 div w 2 mod w 2