#include<iostream>
using namespace std;
int main(){
int n;
cin >> n;
string str;
int K=0,D=0,A=0;
int combo=0;
while(n--){
cin >> str;
if(str=="Get_Kill"){
K++;
combo++;
if(combo<3)cout << "You have slain an enemie." << endl;
else 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 cout << "LEGENDARY!" << endl;
}
else if(str=="Get_Assist"){
A++;
}
else {
D++;
if(combo>=3)cout << "SHUTDOWN." << endl;
else cout << "You have been slained." << endl;
combo=0;
}
}
cout << K << "/" << D << "/" << A;
}