N = int(input()) if N == 1: print(3.5) else: print(int(3.5*N))