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