#include <bits/stdc++.h>
using namespace std;
int main(){
int n,k=0,d=0,a=0,combo=0;
string s;
cin>>n;
while(n--){
cin>>s;
if(s=="Get_Assist")a++;
else if(s=="Die"){
d++;
if(combo<3)cout<<"You have been slained."<<endl;
else cout<<"SHUTDOWN."<<endl;
combo=0;}
else if(s=="Get_Kill"){
k++;combo++;
if(combo<=2)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 if(combo>=8)cout<<"LEGENDARY!"<<endl;
}
}cout<<k<<"/"<<d<<"/"<<a<<endl;
return 0;
}