Nathan Coulas

CCC '11 J1 - Which Alien?

ccc11j1 JAVA8 05 Nov, 2019 1.306s 3 points

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");
        }
    }
}