i = 0; for(i = 0; i < 32; i = i+1){ a = io.read("*n") b = io.read("*n") if a % 10 == a % 100 - a % 10 then io.write (a%10) else io.write (b/100) end }