#include //#include using namespace std; void _main();int main(){cin.tie(nullptr);ios::sync_with_stdio(false);cout< #define vvl vector> #define yesno(flg) if(flg){cout<<"Yes"< inline void scan(Head&head,Tail&... tail){std::cin>>head;scan(tail...);} #define LL(...) ll __VA_ARGS__;scan(__VA_ARGS__) #define STR(...) string __VA_ARGS__;scan(__VA_ARGS__) //vectorのcin template std::istream &operator>>(std::istream&is,std::vector&v){for(T &in:v){is>>in;}return is;} //vectorのcout template std::ostream &operator<<(std::ostream&os,const std::vector&v){for(auto it=std::begin(v);it!=std::end(v);){os<<*it<<((++it)!=std::end(v)?" ":"");}return os;} //x,y,x,yを渡すとldで距離を返す long double my_distance(long double xi,long double yi,long double xj,long double yj){return sqrt(abs((xi-xj)*(xi-xj))+abs((yi-yj)*(yi-yj)));} //可変長引数のprint関数 void print(){cout << '\n';} template void print(const T& a, const Ts&... b){cout << a;(cout << ... << (cout << ' ', b));cout << '\n';} //可変長引数のmin template constexpr auto min(T... a){return min(initializer_list>{a...});} //可変長引数のmax template constexpr auto max(T... a){return max(initializer_list>{a...});} // aよりもbが大きいならばaをbで更新する // (更新されたならばtrueを返す) template bool chmax(T &a, const T& b) { if (a < b) { a = b; return true;} return false;} // aよりもbが小さいならばaをbで更新する // (更新されたならばtrueを返す) template bool chmin(T &a, const T& b) { if (a > b) { a = b; return true;} return false;} template inline T sum(vector&a){T ret{};for(auto&i:a)ret+=i;return ret;} template inline T min(vector&a){T ret=a[0];for(auto&i:a)chmin(ret,i);return ret;} template inline T max(vector&a){T ret=a[0];for(auto&i:a)chmax(ret,i);return ret;} // n次元配列の初期化。第2引数の型のサイズごとに初期化していく。 template void Fill(A (&array)[N], const T &val){std::fill( (T*)array, (T*)(array+N), val );} //mod切り替え //const ll mod = 1000000009; //const ll mod = 998244353; //const ll mod = 1000000007 const ll mod=100000; using pl=pair; //2次元累積話の生成(入力を受けた配列の長さはh、 w(半開区間、配るDP)) template vector> imos_2d(const vector>& a) {int h = a.size(), w = a[0].size();vector> s(h+1,vector(w+1,0));rep(i,0,h)rep(j,0,w)s[i + 1][j + 1] += s[i + 1][j] + s[i][j + 1] - s[i][j] + a[i][j];return s;} //二次元累積和の部分和(半開) // クエリ [x1, x2) × [y1, y2) の長方形区域の和 template ll accsum(const vector>& s, int sr,int gr, int sc,int gc) {return s[gr][gc]-s[sr][gc]-s[gr][sc]+s[sr][sc];} const ll inf = 1LL<<60; //右、下、左、上、右下、右上、左下、左上 int dx[8] = {1, 0, -1, 0, 1, 1, -1, -1}; int dy[8] = {0, 1, 0, -1, 1, -1, 1, -1}; void _main() { LL(a,b,x); x--; ll ans = x/a; print((ans+1)*b); }