#include using namespace std; using ll = long long; unordered_map mp; ll m = 998244353; ll calc(ll a) { if (mp.find(a) != mp.end()) { return mp[a]; } mp[a] = 1; for (ll i = 2; i * i <= a; i ++) { if (a % i == 0) { mp[a] += calc(i); if (i * i < a) { mp[a] += calc(a / i); } mp[a] %= m; } } return mp[a]; } int main() { ll N; cin >> N; cout << calc(N) << endl; }