public long METHOD_1 ( int n ) { long VAR_1 = 0 ; <BUG> for ( int i = 1 ;i <= n ;i ++ ) {</BUG> VAR_1 += i ; } return VAR_1 ; }
public long METHOD_1 ( int n ) { long VAR_1 = 0 ; for ( int i = n ; i > 0 ; i -- ) { VAR_1 += i ; } return VAR_1 ; } 
