public static void PrintNumber ( int N , int Original , int K , boolean flag ) {
  System . out . print ( N + " " ) ;
  if ( N <= 0 ) flag = ! flag ;
  if ( N == Original && ! flag ) return ;
  if ( flag == true ) {
    PrintNumber ( N - K , Original , K , flag ) ;
    return ;
  }
  if ( ! flag ) {
    PrintNumber ( N + K , Original , K , flag ) ;
    return ;
  }
}

public static void PrintNumber ( int N , int Original , int K , boolean flag ) { System . out . print ( N + " ▁ " ) ; if ( N <= 0 ) flag = ! flag ; if ( N == Original && ! flag ) return ; if ( flag == true ) { PrintNumber ( N - K , Original , K , flag ) ; return ; } if ( ! flag ) { PrintNumber ( N + K , Original , K , flag ) ; return ; } }
(method_declaration (modifiers) type: (void_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (integral_type) name: (identifier)) (formal_parameter type: (integral_type) name: (identifier)) (formal_parameter type: (integral_type) name: (identifier)) (formal_parameter type: (boolean_type) name: (identifier))) body: (block (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (string_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (decimal_integer_literal))) consequence: (expression_statement (assignment_expression left: (identifier) right: (unary_expression operand: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (unary_expression operand: (identifier)))) consequence: (return_statement)) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (true))) consequence: (block (expression_statement (method_invocation name: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (identifier)) (identifier) (identifier) (identifier)))) (return_statement))) (if_statement condition: (parenthesized_expression (unary_expression operand: (identifier))) consequence: (block (expression_statement (method_invocation name: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (identifier)) (identifier) (identifier) (identifier)))) (return_statement)))))