public static int getFirstNumber ( int a , int b ) {
  for ( int i = 1 ;
  i <= 6 ;
  i ++ ) {
    if ( i == a || i == 7 - a ) continue ;
    if ( i == b || i == 7 - b ) continue ;
    return i ;
  }
  return 0 ;
}

public static int getFirstNumber ( int a , int b ) { for ( int i = 1 ; i <= 6 ; i ++ ) { if ( i == a || i == 7 - a ) continue ; if ( i == b || i == 7 - b ) continue ; return i ; } return 0 ; }
(method_declaration (modifiers) type: (integral_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (integral_type) name: (identifier)) (formal_parameter type: (integral_type) name: (identifier))) body: (block (for_statement init: (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (decimal_integer_literal))) condition: (binary_expression left: (identifier) right: (decimal_integer_literal)) update: (update_expression (identifier)) body: (block (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (binary_expression left: (identifier) right: (binary_expression left: (decimal_integer_literal) right: (identifier))))) consequence: (continue_statement)) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (binary_expression left: (identifier) right: (binary_expression left: (decimal_integer_literal) right: (identifier))))) consequence: (continue_statement)) (return_statement (identifier)))) (return_statement (decimal_integer_literal))))