from collections import * from itertools import * from functools import * from heapq import * import sys,math input = sys.stdin.readline N = int(input()) V = 5*(3+math.sqrt(5))/12*N**3 print(V)