#include #include #include #include #include using namespace std; using ll=long long; #define rep(i,n) for(int i=0;i=0;i--) #define all(v) v.begin(),v.end() #define rall(v) v.rbegin(),v.rend() template bool chmax(T &a, T b){if (a < b){a = b;return true;} else return false;} template bool chmin(T &a, T b){if (a > b){a = b;return true;} else return false;} const ll MOD=998244353; int main(){ ios::sync_with_stdio(false); cin.tie(nullptr); ll N; cin>>N; ll x=1; vectorC; while(x*x<=N){ if(N%x==0){ C.push_back(x); if(x*xmp; rep(i,l)mp[C[i]]=i; vectordp(l); dp[0]=1; ll ans=0; rep(i,l){ rep(j,l){ int m=mp[C[i]/gcd(C[i],C[j])*C[j]]; if(m==i)continue; dp[m]+=dp[i]; dp[m]%=MOD; } } cout<