package leetcode;

/**
 * https://leetcode.com/problems/divisor-game/
 */
public class Problem1025 {
    public boolean divisorGame(int N) {
        // TODO
        return false;
    }

    public static void main(String[] args) {
        Problem1025 prob = new Problem1025();
        System.out.println(prob.divisorGame(2)); // true
        System.out.println(prob.divisorGame(3)); // false
    }
}

package leetcode;

/**
 * https://leetcode.com/problems/divisor-game/
 */
public class Problem1025 {
    public boolean divisorGame(int N) {
        return N % 2 == 0;
    }
}

Solve problem 1025