#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] = 0; for (ll i = 1; i * i <= a; i ++) { if (a % i == 0) { mp[a] += calc(i); if (i * i < a && i > 1) { mp[a] += calc(a / i); } mp[a] %= m; } } return mp[a]; } int main() { ll N; cin >> N; cout << calc(N) << endl; }