Click Here to go back to the homepage.

Judging Moose Solution:


import java.util.Scanner;

public class Kattis {
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        int points = a>b?2*a:2*b;
        if(a!=b)
            System.out.println("Odd " + points);
        else if(a != 0)
            System.out.println("Even " + points);
        else
            System.out.println("Not a moose");
    }
}