CCC '11 J1 - Which Alien?
Source Code
import java.io.*;
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int a = in.nextInt();
int b = in.nextInt();
if(a <= 2 && b <= 3){
System.out.println("GraemeMercurian");
}
if(a <= 6 && b >= 2){
System.out.println("VladSaturnian");
}
if(a >= 3 && b <= 4){
System.out.println("TroyMartian");
}
}
}