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