#include<iostream>
#include<vector>
#include<string>
using namespace std;
int main()
{
ios::sync_with_stdio(false);
cin.tie(0);
int t;
while(cin>>t,t)
{
vector<char>V1;
vector<char>V2;
cin.ignore();
for (int i = 0; i < t; i++)
{
string s1;
getline(cin, s1);
if(s1.find(" no")!=string::npos)
{
if(i%2==0)
{
V1.push_back('X');
}
else
{
V2.push_back('X');
}
}
else
{
if (i % 2 == 0)
{
V1.push_back('O');
}
else
{
V2.push_back('O');
}
}
}
int c = t;
if(t%2==1)
{
V2.push_back('-');
c++;
}
for(int i=0;i<c/2;i++)
{
cout << i + 1 << " ";
}
cout << "Score" << endl;
int a = 0;
int b = 0;
for(int i=0;i<V1.size();i++)
{
cout << V1[i] << " ";
if (V1[i] == 'O')a++;
}
cout << a << endl;
for (int i = 0; i < V2.size(); i++)
{
cout << V2[i] << " ";
if (V2[i] == 'O')b++;
}
cout << b<< endl;
}
}
10-05
12-19
576
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)