Загрузка данных


summa = float(input())
cost = float(input())
kol = int(input())
cost = cost * kol
sd = summa - cost
print(f"{cost:.2f} {sd:.2f}")