#include #include #include using namespace std; #define REP(i,m,n) for(int i=(m);i<(n);i++) #define rep(i,n) REP(i,0,n) #define pb push_back #define all(a) a.begin(),a.end() #define rall(c) (c).rbegin(),(c).rend() #define mp make_pair typedef long long ll; typedef pair pii; typedef pair pll; typedef long double ld; const ll inf=1e9+7; const ll mod=998244353; int main(){ string s;cin>>s; cout<