::x::z,a,b=io.read(1,2,2,3)print(a%11>0 and b or~~a%10)goto x