#include <iostream>
#include <string>
#include <fstream> // std::ofstream
using namespace std;
int main()
{
ifstream in("game.log");
while (!in.eof())
{
string str;
getline(in, str);
if (str.find("score") != string::npos)
{
cout << str.c_str() << "\n";
}
}
in.close();
string buff;
cin >> buff;
return 0;
}