#pragma GCC optimize("Ofast") #include #define rep(i,n) for(int i=0;i>x[i]; #define ft first #define sc second #define pb push_back #define lb lower_bound #define ub upper_bound #define all(v) (v).begin(),(v).end() #define mod 1000000007 using namespace std; typedef long long ll; template using V=vector; using Graph = vector>; using P=pair; typedef unsigned long long ull; typedef long double ldouble; template inline bool chmin(T& a, T b) { if (a > b) { a = b; return true; } return false; } template inline bool chmax(T& a, T b) { if (a < b) { a = b; return true; } return false; } const ll INF=1e18; int main(){ string s,t; cin>>s>>t; int ss=s.size(),tt=t.size(); bool ok=1; int ans=0; if(tt==1){ char c=t[0]; rep(i,ss){ if(c==s[i]){ ok=0; break; } } }else{ int k=0; while(k=ss) flag=0; } if(flag){ ans++; k+=tt-1; }else{ k++; } } } } if(ok) cout<