Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rub_1 = int(input())
- kop_1 = int(input())
- rub_2 = int(input())
- kop_2 = int(input())
- x = kop_1 + kop_2
- y = x // 100
- z = rub_1 + rub_2 + y
- c = x - y * 100
- print ( z, " ", c)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement