#include using namespace std; #ifdef DEBUG #define PRINT_VALUE(v){cout<<#v<<" :"<<(v)<>= 1; } return res; } ll ksm(ll a,ll b,ll M){ return a * _ksm(b, M - 2,M) % M; } int n,k,m,times=1,b; signed main(){ cin>>n>>k>>m; b=k; /* x=k+x/b bx=k*b+x (b-1)x=k*b x=(k*b)/(b-1) */ PRINT_VALUE(b); PRINT_VALUE(n); PRINT_VALUE(b