#include <iostream>
#include <string>
using namespace std;
int main()
{
int n, c = 0, k = 0, d = 0, a = 0;
cin >> n;
for (int i = 0; i < n; i++)
{
string s;
cin >> s;
if (s == "Get_Kill")
{
c++;
k++;
if (c < 3)
{
cout << "You have slain an enemie." << endl;
}
else if (c == 3)
{
cout << "KILLING SPREE!" << endl;
}
else if (c == 4)
{
cout << "RAMPAGE~" << endl;
}
else if (c == 5)
{
cout << "UNSTOPPABLE!" << endl;
}
else if (c == 6)
{
cout << "DOMINATING!" << endl;
}
else if (c == 7)
{
cout << "GUALIKE!" << endl;
}
else if (c >= 8)
{
cout << "LEGENDARY!" << endl;
}
}
else if (s == "Get_Assist")
{
a++;
}
else if (s == "Die")
{
if (c < 3)
{
cout << "You have been slained." << endl;
}
else if (c >= 3)
{
cout << "SHUTDOWN." << endl;
}
c = 0;
d++;
}
}
cout << k << "/" << d << "/" << a;
}
硬解