G.py 83 B

12345
  1. n = int(input())
  2. sum = n * 95
  3. if sum >= 300:
  4. sum = sum * 0.85
  5. print("%.2f"%sum)