package b762;
import java.util.Scanner;
public class b762 {
public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner scanner = new Scanner(System.in);
int k = 0 , d = 0 , a = 0;
int ing = 0;
int range = scanner.nextInt();
for(int i = 0 ; i <= range; i++) {
String cmdString = scanner.nextLine();
if (cmdString.contains("Get_Kill")) {
k++;
ing++;
if(ing <3) {
System.out.println("You have slain an enemie.");
}else {
if (ing<4) {
System.out.println("KILLING SPREE!");
}else if(ing <5) {
System.out.println("RAMPAGE~");
}else if(ing <6) {
System.out.println("UNSTOPPABLE!");
}else if(ing <7) {
System.out.println("DOMINATING!");
}else if(ing <8) {
System.out.println("GUALIKE!");
}else {
System.out.println("LEGENDARY!");
}
}
}else if (cmdString.contains("Get_Assist")) {
a++;
}else if (cmdString.contains("Die")){
d++;
if(ing>=3) {
System.out.println("SHUTDOWN.");
}else {
System.out.println("You have been slained.");
}
ing = 0;
}
}
System.out.println(k+"/"+d+"/"+a);
}
}