fork download
  1. v= map(chr, range(65, 91))
  2.  
  3. i=0
  4. j=0
  5. c=''
  6. while i < 8:
  7. x,y= raw_input().split(" ")
  8. if x<y:
  9. c[i]=v[j+1]
  10. j+=2
  11. else:
  12. c[i]=v[j]
  13. j+=2
  14. i+=1
  15.  
  16. for i in c:
  17. print c[i]
  18.  
Runtime error #stdin #stdout 0.02s 6356KB
stdin
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
stdout
Standard output is empty