Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- year = input()
- p = int(input())
- h = int(input())
- game = ((48 - h) * 3 / 4) + h + p * 2 / 3
- if year == "leap":
- game *= 1.15
- print(int(game))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement