default
#include<bits/stdc++.h>
#define debug(...) fprintf(stderr, __VA_ARGS__)
typedef long long ll;
template<typename T=int> T rd() {
T s=0; bool f=1; char c=getchar();
for(; !isdigit(c) ; c=getchar()) f^=(c=='-');
for(; isdigit(c); c=getchar()) s=s*10+c-'0';
return f ? s : -s;
}
using namespace std;
char _begin;
char _end;
signed main(signed argc, char *argv[]) {
debug("%lfMB\n", (&_end-&_begin)/1024./1024.);
return 0;
}transform
#include<bits/stdc++.h>
using namespace std;
signed main(signed argc, char *argv[]) {
fstream ORI;
ORI.open("x.cpp");
string str;
while(getline(ORI, str)) {
putchar('\"');
for(auto c:str) {
if(c=='\"' || c=='\\' || c==9) {
putchar('\\');
if(c==9) putchar('t');
else putchar(c);
}
else putchar(c);
}
putchar('\"');
putchar(',');
puts("");
}
return 0;
}modint
template<int Mo> struct mint {
int x;
inline mint(int _x=0) {x=(_x+Mo)%Mo;}
inline friend void print(mint a, char ch=0) {printf("%d", a.x); if(ch) putchar(ch);}
inline friend mint qpow(mint a, int b) {mint re(1); for(; b; b>>=1, a=a*a) if(b&1) re=re*a; return re;}
inline bool operator == (mint a) {return x==a.x;}
inline bool operator != (mint a) {return x!=a.x;}
inline bool operator > (mint a) {return x>a.x;}
inline bool operator < (mint a) {return x<a.x;}
inline bool operator >= (mint a) {return x>=a.x;}
inline bool operator <= (mint a) {return x<=a.x;}
inline mint operator - () {return *this * (Mo-1);}
inline friend mint operator + (mint a, mint b) {a.x+=b.x; if(a.x>=Mo) a.x-=Mo; return a;}
inline friend mint operator - (mint a, mint b) {a.x-=b.x; if(a.x<0) a.x+=Mo; return a;}
inline friend mint operator * (mint a, mint b) {return mint(1ll*a.x*b.x%Mo);}
inline friend mint operator / (mint a, mint b) {return a*qpow(b, Mo-2);}
inline mint operator += (mint a) {return *this=*this+a;}
inline mint operator -= (mint a) {return *this=*this-a;}
inline mint operator *= (mint a) {return *this=*this*a;}
inline mint operator /= (mint a) {return *this=*this/a;}
};frontstar
template<int Vsiz, int Esiz, typename T>
struct Graph {
int hd[Vsiz], ect;
int nxt[Esiz];
T edge[Esiz];
#define fnxt(G, u, i) \
for(int i=G.hd[u]; i; i=G.nxt[i])
//
Graph() {ect=1;}
void reset(int siz) {fill(hd+1, hd+siz+1, 0); ect=1;}
T &operator () (int id) {return edge[i];}
void ade(int u, T x) {
edge[++ect]=x, nxt[ect]=hd[u];
hd[u]=ect;
}
};