n=int(input("请输入借书天数"))
s=0
if n<1:
print("您输入的借书天数有错")
else:
if n==1:
s=2
s=2+(n-1)*0.8
print(round(s),"元")