#include #define REP(i,x) for(int i=0,i##_len=(x);i>s>>t; assert(s.size()<=1000); assert(t.size()<=1000); if(t.size()==1&&s.find(t.front())!=string::npos){ cout<<-1<