public static int METHOD_1 ( int n ) { int [ ] VAR_1 = new int [ n + 1 ] ; VAR_1 [ 0 ] = 0 ; VAR_1 [ 1 ] = 1 ; for ( int i = INT_1 ; i <= n ; i ++ ) { VAR_1 [ i ] = ( VAR_1 [ ( i - 1 ) ] ) + ( VAR_1 [ ( i - INT_1 ) ] ) ; } return ( VAR_1 [ n ] ) % INT_2 ; }

public static long METHOD_1 ( int n ) { long [ ] VAR_1 = new long [ n + 1 ] ; VAR_1 [ 0 ] = 0 ; VAR_1 [ 1 ] = 1 ; for ( int i = INT_1 ; i <= n ; i ++ ) { VAR_1 [ i ] = ( ( VAR_1 [ ( i - 1 ) ] ) + ( VAR_1 [ ( i - INT_1 ) ] ) ) % INT_2 ; } return VAR_1 [ n ] ; }
