#include #include using namespace std; char date[1000][1000]; char strings[2000]; int main () { int num; int i,j; int len; int pos=0; while(cin>>num) { pos=0; for(i=0;i>date[i]; len=strlen(date[0]); int flag=0; for(j=0;j