#include<iostream>
using namespace std;
int main(){
int i=0;
int j=0,k,l=0,flag;
char a[101],b[101],c[101],d[202];
cin>>a>>b>>c;
while(a[i]!='\0'){
d[i]=a[i];
i=i+1;
}
while(b[i]!='\0'){
a[i]=b[j];
j=j+1;
i=i+1;
}
while(k=i-j){
if(d[k]!=b[0]){
k++;
}
else{
flag=1;
for(l=1;l<=j;l++){
if(d[k+l]!=b[l]){
flag=0;
cout<<
break;
}
}
}
}
return 0;
}