# https://www.shinko-keirin.co.jp/keirinkan/kosu/mathematics/kirinuki/kirinuki23.html N = int(input()) V = N**3*5*(3+5**0.5)/12 print(V)