valid P1 5 5 01010 10101 01010 00000 11111 not valid: Should print 0 four times 0 0 0 0