from math import pi n = int(input()) # print('%.0f' % (pi ** (2 * n) / (6 ** n) / n)) print('{}'.format(int(pi ** (2 * n) / (6 ** n) / n)))