def solve(d, a, b): if a >= b: return b * d else: return a * d import sys def input(): return sys.stdin.readline.rstirp() def main(): d = int(input()) a, b = map(int, input().split()) res = solve(d, a, b) print(res) if __name__ == "__main__": main()