<awangdev>Coins in a Line_2.java
public boolean firstWillWin(int n) {
        if (n <= 0) {
            return false;
        }
        boolean[] dp = new boolean[2];
        dp[0] = false;
        dp[1] = true;
        for (int i = 2; i <= n; i++) {
            dp[i % 2] = !dp[(i - 1) % 2] || !dp[(i - 2) % 2];
        }
        
        return dp[n % 2];
    }
public boolean var_0 ( int var_1 ) {
  if ( var_1 <= 0 ) {
    return false ;
  }
  boolean [ ] var_5 = new boolean [ 2 ] ;
  var_5 [ 0 ] = false ;
  var_5 [ 1 ] = true ;
  for ( int var_6 = 2 ;
  var_6 <= var_1 ;
  var_6 ++ ) {
    var_5 [ var_6 % 2 ] = ! var_5 [ ( var_6 - 1 ) % 2 ] || ! var_5 [ ( var_6 - 2 ) % 2 ] ;
  }
  return var_5 [ var_1 % 2 ] ;
}
