#define rep(i,n) for(int i=0;i<(int)(n);i++) #define ALL(v) v.begin(),v.end() typedef long long ll; #include using namespace std; bool iskado(int x,int y,int z){ if(y>x && y>z && x!=z) return true; if(y>s; string k="kadomatsu"; int now=0; for(int i=0;i