input = read_line.split w = input[0].to_i z = input[1].to_i b = input[2].to_f puts ((w + z) * (1.0 + b)).round.to_i