public static void main ( String [ ] args ) {
  Scanner in = new Scanner ( System . in ) ;
  try {
    long x = in . nextLong ( ) ;
    if ( x <= 127 ) System . out . println ( "byte" ) ;
    else if ( x <= 32767 ) System . out . println ( "short" ) ;
    else if ( x <= 2147483647 ) System . out . println ( "int" ) ;
    else System . out . println ( "long" ) ;
  }
  catch ( Exception e ) {
    System . out . println ( "BigInteger" ) ;
  }
}

public static void main ( String [ ] args ) { Scanner in = new Scanner ( System . in ) ; try { long x = in . nextLong ( ) ; if ( x <= 127 ) System . out . println ( " byte " ) ; else if ( x <= 32767 ) System . out . println ( " short " ) ; else if ( x <= 2147483647 ) System . out . println ( " int " ) ; else System . out . println ( " long " ) ; } catch ( Exception e ) { System . out . println ( " BigInteger " ) ; } }
(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: (object_creation_expression type: (type_identifier) arguments: (argument_list (field_access object: (identifier) field: (identifier)))))) (try_statement body: (block (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)))) (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: (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: (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: (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (string_literal)))))))) (catch_clause (catch_formal_parameter (catch_type (type_identifier)) name: (identifier)) body: (block (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (string_literal)))))))))