public class Solution { public boolean canWinNim(int n) { return (n % 4) != 0; } }