km = int(input())
if km <= 1:
    print(3800)
else:
    print(3800 + (km - 1) * 1200)

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: