fork download
  1. # your code goes here
  2.  
  3. a = int(input())
  4. b = int(input())
  5. result = 0 if a is b else 1 if a >b else 2
  6.  
  7. print (result)
Success #stdin #stdout 0.02s 9296KB
stdin
10
2
stdout
1