fork download
  1. # your code goes here
  2. while True:
  3. try:
  4. a,b=[int(x) for x in input().split()]
  5. print(abs(b - a))
  6. except EOFError:
  7. break
Success #stdin #stdout 0.02s 9408KB
stdin
10 12
10 14
100 200
stdout
2
4
100