#include
#include
using namespace std;
void main()
{
string str1,str2;
int x,n=1;
cin>>str1>>str2;
x=str1.find(str2);
if(x>0)
{
cout<<“str1 have str2”<<endl;
while(x>0)
{
string str1(str1,x);
x=str1.find(str2);
n++;
cout<<n<<endl;
}
}
else
cout<<“str1 don’t have str2”<<endl;
}