public static void main ( String [ ] args ) {
  String s = sc . next ( ) ;
  out . println ( ( s . charAt ( 0 ) - '0' ) + ( s . charAt ( 1 ) - '0' ) ) ;
}

public static void main ( String [ ] args ) { String s = sc . next ( ) ; out . println ( ( s . charAt ( 0 ) - '0' ) + ( s . charAt ( 1 ) - '0' ) ) ; }
(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: (type_identifier) declarator: (variable_declarator name: (identifier) value: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)))) (expression_statement (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (binary_expression left: (parenthesized_expression (binary_expression left: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (decimal_integer_literal))) right: (character_literal))) right: (parenthesized_expression (binary_expression left: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (decimal_integer_literal))) right: (character_literal)))))))))