#include <bits/stdc++.h>
using namespace std;
signed main() {
auto ST = chrono::steady_clock::now();
// do some thing
//mt19937_64 rd(chrono::system_clock::now().time_since_epoch().count());
//uniform_int_distribution<int> dis(1, 998244353);
//int P = dis(rd);
int ans = 0;
for (int i = 1; i <= 5e8; i++) ans = (ans + i) % 998244353;
cerr << ans << endl;
auto ED = chrono::steady_clock::now();
cerr << "Timer diif : " << chrono::duration<double, milli>(ED - ST).count() << endl;
return 0;
}
tg.hszxoj.com:\(2.3e8\) link
www.hszxoj.com:\(2.5e8\) link
uoj.ac:\(2.8e8\) link
www.luogu.com.cn \(3.4e8\) link
codeforces.com:\(3e8\) link
atcoder.jp:\(3e8\) link
LOACL:\(3.9e8\)
loj.ac:\(4.2e8\) link