#28150: 真python絕對對解題法


2006teng@gmail.com (不幸福的巡撫)


n=int(input())

print(n//12*50+n%12*5)