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