#include using namespace std; const int n=32,M=1000; int m=0,k,s[M],t[M]; int main(){ cin>>k; for(int i=1;i