d = int(input()) a, b = map(int, input().split()) print(min(d * a, d * b))