Click Here to go back to the homepage.

Paul Eigon Solution:


import java.util.Scanner;

public class Kattis {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int N = sc.nextInt();
    int turns =  sc.nextInt() + sc.nextInt();
    if(turns / N % 2 == 0){
      System.out.println("paul");
    }
    else{
      System.out.println("opponent");
    }
  }
}