n = int(input().strip()) a,b = map(int,input().split()) c = min(2*a,b) kq = (n//2) * c + (n%2) * a print(kq)
Không có bình luận nào.
Bình luận