public static void main ( String [ ] $ ) {
  int p = getInt ( ) , q = getInt ( ) , r = getInt ( ) ;
  System . out . println ( Arrays . stream ( new int [ ] {
    hoge ( p , q , r ) , hoge ( p , r , q ) , hoge ( q , p , r ) , hoge ( q , r , p ) , hoge ( r , p , q ) , hoge ( r , q , p ) }
    ) . max ( ) . getAsInt ( ) ) ;
  }
  
public static void main ( String [ ] $ ) { int p = getInt ( ) , q = getInt ( ) , r = getInt ( ) ; System . out . println ( Arrays . stream ( new int [ ] { hoge ( p , q , r ) , hoge ( p , r , q ) , hoge ( q , p , r ) , hoge ( q , r , p ) , hoge ( r , p , q ) , hoge ( r , q , p ) } ) . max ( ) . getAsInt ( ) ) ; }
(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 (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (method_invocation name: (identifier) arguments: (argument_list))) declarator: (variable_declarator name: (identifier) value: (method_invocation name: (identifier) arguments: (argument_list))) declarator: (variable_declarator name: (identifier) value: (method_invocation name: (identifier) arguments: (argument_list)))) (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (method_invocation object: (method_invocation object: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (array_creation_expression type: (integral_type) dimensions: (dimensions) value: (array_initializer (method_invocation name: (identifier) arguments: (argument_list (identifier) (identifier) (identifier))) (method_invocation name: (identifier) arguments: (argument_list (identifier) (identifier) (identifier))) (method_invocation name: (identifier) arguments: (argument_list (identifier) (identifier) (identifier))) (method_invocation name: (identifier) arguments: (argument_list (identifier) (identifier) (identifier))) (method_invocation name: (identifier) arguments: (argument_list (identifier) (identifier) (identifier))) (method_invocation name: (identifier) arguments: (argument_list (identifier) (identifier) (identifier))))))) name: (identifier) arguments: (argument_list)) name: (identifier) arguments: (argument_list)))))))