#include #include #include #include using namespace std; long long int A, B, C, money = 0, age = 0; int main() { cin >> A >> B >> C; while(true) { age++; if(age % A == 0) { money += B; } else { money += 1; } if(money >= C) break; } cout << age << endl; return 0; }