n=int(input()) ans=n*3.5 if ans==int(ans): print(int(ans)) else: print(ans)