static void solve ( long n ) {
  if ( n == 1 ) System . out . println ( "Deficient" ) ;
  else if ( sum ( n ) == n ) System . out . println ( "Perfect" ) ;
  else if ( sum ( n ) < n ) System . out . println ( "Deficient" ) ;
  else System . out . println ( "Abundant" ) ;
}

static void solve ( long n ) { if ( n == 1 ) System . out . println ( " Deficient " ) ; else if ( sum ( n ) == n ) System . out . println ( " Perfect " ) ; else if ( sum ( n ) < n ) System . out . println ( " Deficient " ) ; else System . out . println ( " Abundant " ) ; }
(method_declaration (modifiers) type: (void_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (integral_type) name: (identifier))) body: (block (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (decimal_integer_literal))) consequence: (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (string_literal)))) alternative: (if_statement condition: (parenthesized_expression (binary_expression left: (method_invocation name: (identifier) arguments: (argument_list (identifier))) right: (identifier))) consequence: (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (string_literal)))) alternative: (if_statement condition: (parenthesized_expression (binary_expression left: (method_invocation name: (identifier) arguments: (argument_list (identifier))) right: (identifier))) consequence: (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (string_literal)))) alternative: (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (string_literal)))))))))