let d = Int(readLine()!)! let ab = readLine()!.split(separator: " ").map{Int($0)!} let a = ab[0] let b = ab[1] print(a > b ? a * d : b * d)