comefrom: <awangdev>Nim Game_2.java
code: public boolean canWinNim(int n ) {
          if (n <= 3) {
              return true;
          }
          boolean[] dp = new boolean[n + 1];
          dp[0] = true;
          dp[1] = dp[2] = dp[3] = true;
          for (int i = 4; i <= n; i++) {
              dp[i] = !(dp[i - 1] && dp[i - 2] && dp[i - 3]);
          }
          return dp[n];
      }
masked: public boolean var_0 ( int var_1 ) {
    if ( var_1 <= 3 ) {
      return true ;
    }
    boolean [ ] var_5 = new boolean [ var_1 + 1 ] ;
    var_5 [ 0 ] = true ;
    var_5 [ 1 ] = var_5 [ 2 ] = var_5 [ 3 ] = true ;
    for ( int var_8 = 4 ;
    var_8 <= var_1 ;
    var_8 ++ ) {
      var_5 [ var_8 ] = ! ( var_5 [ var_8 - 1 ] && var_5 [ var_8 - 2 ] && var_5 [ var_8 - 3 ] ) ;
    }
    return var_5 [ var_1 ] ;
  }
  