#include<iostream>
#include<string>
using namespace std;
int main()
{
string a,b;
cin>>a>>b;
int temp;
temp=a.find(b,0);
if(-1==temp)
cout<<"can't find!"<<endl;
else
cout<<temp<<endl;
return 0;
}
#include<string>
using namespace std;
int main()
{
string a,b;
cin>>a>>b;
int temp;
temp=a.find(b,0);
if(-1==temp)
cout<<"can't find!"<<endl;
else
cout<<temp<<endl;
return 0;
}