public static void main ( String [ ] args ) {
  IntStream . rangeClosed ( 1 , scanner . nextInt ( ) ) . boxed ( ) . collect ( Collectors . toMap ( i -> scanner . nextInt ( ) , i -> i , ( a , b ) -> null , ( ) -> new TreeMap < > ( Collections . reverseOrder ( ) ) ) ) . values ( ) . forEach ( System . out :: println ) ;
}

public static void main ( String [ ] args ) { IntStream . rangeClosed ( 1 , scanner . nextInt ( ) ) . boxed ( ) . collect ( Collectors . toMap ( i -> scanner . nextInt ( ) , i -> i , ( a , b ) -> null , ( ) -> new TreeMap < > ( Collections . reverseOrder ( ) ) ) ) . values ( ) . forEach ( System . out :: println ) ; }
(method_declaration (modifiers) type: (void_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (array_type element: (type_identifier) dimensions: (dimensions)) name: (identifier))) body: (block (expression_statement (method_invocation object: (method_invocation object: (method_invocation object: (method_invocation object: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (decimal_integer_literal) (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)))) name: (identifier) arguments: (argument_list)) name: (identifier) arguments: (argument_list (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (lambda_expression parameters: (identifier) body: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list))) (lambda_expression parameters: (identifier) body: (identifier)) (lambda_expression parameters: (inferred_parameters (identifier) (identifier)) body: (null_literal)) (lambda_expression parameters: (formal_parameters) body: (object_creation_expression type: (generic_type (type_identifier) (type_arguments)) arguments: (argument_list (method_invocation object: (identifier) name: (identifier) arguments: (argument_list))))))))) name: (identifier) arguments: (argument_list)) name: (identifier) arguments: (argument_list (method_reference (field_access object: (identifier) field: (identifier)) (identifier)))))))