n = int(input()) print(n * 3.5 if n * 3.5 != int(n * 3.5) else int(n * 3.5))