age = int(input())

second =age * 3.156*10**7
print(int(second))