a=[0,0,2,5,4] n=int(input()) ans=0 while n>4: ans+=10 n-=2 print(ans+a[n])