#include #include using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(nullptr); const int mod=998244353; int n;cin>>n; int a=0,b=1; for(int i=2;i<=n;i++) { int c=(a+b)%mod; a=b; b=c; } cout<