d = read_line.to_i64 a, b = read_line.split.map(&.to_i64) puts a*b*d*2//(a + b)