import sys input = sys.stdin.readline from collections import * N = int(input()) ans = 5*(3+5**0.5)/12*N**3 print(ans)