<filename>2936.py
s = 225
s += int(input()) * 300
s += int(input()) * 1500
s += int(input()) * 600
s += int(input()) * 1000
s += int(input()) * 150
print(s)

<filename>2936.py
s = 225
s += int(input()) * 300
s += int(input()) * 1500
s += int(input()) * 600
s += int(input()) * 1000
s += int(input()) * 150
print(s)
