#ifndef ONLINE_JUDGE #define _GLIBCXX_DEBUG #endif #include #include using namespace std; using ll=long long; using ld=long double; using st=string; using P=pair; typedef atcoder::modint mint; ll inf=9e18; template auto vec(const ll (&sizes)[s], const T& init = T()){ if constexpr(i < s) return vector(sizes[i], vec(sizes, init)); else return init; } vector w; void dev(ll n){ ll i=1; while(i*i<=n){ if(n%i==0){ w[i]++; if(i*i!=n) w[n/i]++; } i++; } } int main(){ ll n,k,ans=0; cin>>n>>k; if(k==1){ ll x; ans=1; for(ll i=0;i>x; ans=lcm(ans,x); } cout<({n},0); w=vector(1e6+5,0); for(ll i=0;i>v[i]; dev(v[i]); } // for(ll i=1;i<=100;i++){ // cout<=(n-1)/k+2){ ans=i; } } cout<