s2 = gets.to_s.to_f64 s = s2 / 2 a = b = c = s2 / 3 ans2 = s * (s - a) * (s - b) * (s - c) ans = Math.sqrt ans2 pp ans