public class B762{
public static void main(String[] args){
java.util.Scanner sc = new java.util.Scanner(System.in);
while(sc.hasNext()){
int round = sc.nextInt();
for(int i = 0 ; i < round; i++)
new Game(sc.next()).decide();
Game.getGrade();
}
}
}
class Game{
private static int killAll;
private static int dieAll;
private static int assAll;
private static int kill;
private String note;
public Game(String note){this.note = note;}
public void decide(){
if(note.equals("Get_Kill")){
kill++;
killAll++;
if(kill < 3) print("You have slain an enemie.");
else if(kill == 3) print("KILLING SPREE!");
else if(kill == 4) print("RAMPAGE~");
else if(kill == 5) print("UNSTOPPABLE!");
else if(kill == 6) print("DOMINATING!");
else if(kill == 7) print("GUALIKE!");
else print("LEGENDARY!");
}
else if(note.equals("Die")){
dieAll++;
if(kill < 3) print("You have been slained.");
else print("SHUTDOWN.");
kill = 0;
}
else{ assAll++; }
}
public static void getGrade(){
System.out.println(killAll + "/" + dieAll + "/" + assAll);
}
private void print(String s){ System.out.println(s);}
}