public static void process ( ) throws IOException {
  int n = ni ( ) ;
  int k = ni ( ) ;
  for ( int i = 1 ;
  i <= k ;
  i ++ ) {
    p ( n + " " ) ;
    n -- ;
  }
  for ( int i = 1 ;
  i <= n ;
  i ++ ) {
    p ( i + " " ) ;
  }
  pn ( "" ) ;
}

public static void process ( ) throws IOException { int n = ni ( ) ; int k = ni ( ) ; for ( int i = 1 ; i <= k ; i ++ ) { p ( n + " ▁ " ) ; n -- ; } for ( int i = 1 ; i <= n ; i ++ ) { p ( i + " ▁ " ) ; } pn ( " " ) ; }
(method_declaration (modifiers) type: (void_type) name: (identifier) parameters: (formal_parameters) (throws (type_identifier)) body: (block (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (method_invocation name: (identifier) arguments: (argument_list)))) (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (method_invocation name: (identifier) arguments: (argument_list)))) (for_statement init: (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (decimal_integer_literal))) condition: (binary_expression left: (identifier) right: (identifier)) update: (update_expression (identifier)) body: (block (expression_statement (method_invocation name: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (string_literal))))) (expression_statement (update_expression (identifier))))) (for_statement init: (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (decimal_integer_literal))) condition: (binary_expression left: (identifier) right: (identifier)) update: (update_expression (identifier)) body: (block (expression_statement (method_invocation name: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (string_literal))))))) (expression_statement (method_invocation name: (identifier) arguments: (argument_list (string_literal))))))