v= map(chr, range(65, 91)) i=0j=0c=[30]while i < 8: x,y= raw_input().split(" ") if x<y: c[i]=j+1 j+=2 else: c[i]=j j+=2 i+=1 for i in c: print c[i]
4 1 1 0 0 4 3 1 2 3 1 2 2 0 0 2 1 2 4 3 0 1 3 2 3 4 1 4 1 0
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!