a guest Feb 15th, 2020 80 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- a, b, c, d, e = [int(i) for i in input().split()]
- f = input().split()
- if b >= e:
- print((a - 1) * c + e * d)
- print((a - 1) * c + b * d)
RAW Paste Data