def main(): d = int(input()) a, b = map(int, input().split()) print(min(a, b)*d) if __name__ == "__main__": main()