#include #include #include #include #include #include #include #include #include using namespace atcoder; using namespace std; using ll = long long; #define Sort(a) sort((a).begin(), (a).end()) #define Rev(a) reverse((a).begin(), (a).end()) #define cfs(a) cout << fixed << setprecision(a) int main() { ll A, B, X; cin >> A >> B >> X; ll ans = B * (X / A); if (X % A != 0) { ans += B; } cout << ans << endl; }