fork download
  1. a = int(input())
  2. b = int(input())
  3. c = int(input())
  4.  
  5. print(a * 45 + b * 15 + c * 10)
  6.  
Success #stdin #stdout 0.02s 7304KB
stdin
6
5
1
stdout
355