Guest User

Untitled

a guest
Jun 14th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. a,b = map(int, raw_input().split())
  2. n = a-b
  3. if n < 0:
  4. n = n*(-1)
  5. i = n%10
  6. n = n-i
  7. if i == 1:
  8. print n+2
  9. else:
  10. print n+1
Add Comment
Please, Sign In to add comment