N = gets.to_i puts "%.12f" % (Rational(5 * (3 + Math.sqrt(5)), 12) * N ** 3)