import math n=int(input()) print(int(pow(math.pi**2/6,n)/n))