Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- heads = int(input())
- legs = int(input())
- def puzzle(a,b):
- w = heads*2
- x = legs - w
- y = x // 2
- z = heads - y
- print(y)
- print(z)
- puzzle(heads,legs)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement