LearnPy Hub
← If…Else problems
Medium

Electricity Bill

Units are charged 5 Tk each for the first 100, 7 Tk each for the next 100, and 10 Tk each above 200. Read the units used and print the bill.

Input

One integer ≥ 0.

Output

The bill.

Sample 1

Input
50
Output
250

Sample 2

Input
100
Output
500
solution.py
Output appears here
Electricity Bill · Python practice problem · LearnPy Hub