cost, weight, mon = int(input()), int(input()), int(input()) print(mon - (cost * weight))