object s while 1do s=gets(0)puts(1+(s[1]>s[3])+(s[3]>s[5]),s)end while