n = int(input()) print(int(n * 3.5) if n % 2 == 0 else (n * 3.5))