#include <iostream>
#include <string>
using namespace std;
int main() {
int n, kill, assist, die, combo;
string order;
while ( cin >> n ) {
kill = assist = die = combo = 0;
for ( int i = 0; i < n; i++ ) {
cin >> order;
if ( order == "Get_Kill" ) {
combo++;
kill++;
if ( combo == 3 )
cout << "KILLING SPREE!" << endl;
else if ( combo == 4 )
cout << "RAMPAGE~" << endl;
else if ( combo == 5 )
cout << "UNSTOPPABLE!" << endl;
else if ( combo == 6 )
cout << "DOMINATING!" << endl;
else if ( combo == 7 )
cout << "GUALIKE!" << endl;
else if ( combo >= 8 )
cout << "LEGENDARY!" << endl;
else
cout << "You have slain an enemie." << endl;
} else if ( order == "Get_Assist" ) {
assist++;
} else if ( order == "Die" ) {
cout << ( ( combo < 3 ) ? "You have been slained." : "SHUTDOWN." ) << endl;
combo = 0;
die++;
}
}
cout << kill << "/" << die << "/" << assist << endl;
}
}