include <bits/stdc++.h> using namespace std;#define gc() (p1==p2&&(p1=bf,p2=bf+fread(bf,1,1<<21,stdin),p1==p2)?EOF:*p1++)char bf[1 << 21], *p1(bf), *p2(bf);template<class t=""> void read(T& x) { char c(gc()), neg(0); T t(0); for (; c != EOF && !i...