import sys input=sys.stdin.readline d = int(input()) a, b = map(int, input().split()) print(d * min(a, b))