Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a = int(input())
- b = int(input())
- c = int(input())
- h = int(input())
- w = int(input())
- if w == 1:
- print(a + b *(h - 12))
- else:
- print(h*c)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement