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