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