include[HTML_REMOVED]
using namespace std;
int main()
{
string s,s1,s2;
char c;
while(cin>>c,c!=’,’)
s+=c;
while(cin>>c,c!=’,’)//字符串内部不允许有,
s1+=c;
while(cin>>c)//不结束即可
s2+=c;
if(s.size()[HTML_REMOVED]=0)
{
int k=0;
while(k[HTML_REMOVED]=r)
puts(“-1”);
else
cout<<r-l-1<<endl; }
return 0;
}