L = gets.to_i a = Rational(L, 3) puts (Rational(Math.sqrt(3), 4) * a ** 2).to_f