#include #include #include #include #include #include #include #include #include #include #include #include //#include using namespace std; typedef long long ll; const ll INF=1LL<<60; typedef pair P; typedef pair PP; const ll MOD=998244353; int main(){ ll N; cin>>N; /* if(N==1){ cout<<1<