from fractions import Fraction from math import sqrt from sys import stdin def main(): input = lambda: stdin.readline()[:-1] L = int(input()) h = Fraction(L, 3) * Fraction(1, 2) * sqrt(3) ans = Fraction(L, 3) * h / 2 print(ans) main()