Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a = int(input())
- b = int(input())
- x = (a%b)*(b%a) + 1
- print(x)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement