#include #define ll long long int using namespace std; ll a, b, x; int main() { #define wp "" if (fopen(wp ".inp", "r")) { freopen(wp ".inp", "r`", stdin); freopen(wp ".out", "w", stdout); } cin.tie(0)->sync_with_stdio(0); cin >> a >> b >> x; if (x <= a) cout << b; else cout << ((x / a) * b + (x % a > 0) * b); } /* tho la am nhac cua tam hon,nhat la voi nhung tam hon cao ca,da cam (voltaire).tho chi bat ra khi tim nguoi nghe si dang co nhung nhip rung dong thon thuc,nhung nhip ngan vang vong tam hon.tuy la vay,nhung van the tuy ngan gon lai co kha nang ket tinh nhieu giot ngoc cua cuoc song con nguoi truyen den the gioi cam xuc cua ta nhung gia tri */