price = int(input()) Liter = int(input()) total = price * Liter if Liter >= 5: print(total - 1000) else: print(total)
To embed this project on your website, copy the following code and paste it into your website's HTML: