public static void main ( String args [ ] ) throws IOException {
  BufferedReader br = new BufferedReader ( new InputStreamReader ( System . in ) ) ;
  String param [ ] = br . readLine ( ) . trim ( ) . split ( "\\s+" ) ;
  BigInteger m = new BigInteger ( param [ 0 ] ) ;
  BigInteger A = new BigInteger ( "127" ) ;
  BigInteger B = new BigInteger ( "32767" ) ;
  BigInteger C = new BigInteger ( "2147483647" ) ;
  BigInteger D = new BigInteger ( "9223372036854775807" ) ;
  if ( m . compareTo ( A ) <= 0 ) System . out . println ( "byte" ) ;
  else if ( m . compareTo ( B ) <= 0 ) System . out . println ( "short" ) ;
  else if ( m . compareTo ( C ) <= 0 ) System . out . println ( "int" ) ;
  else if ( m . compareTo ( D ) <= 0 ) System . out . println ( "long" ) ;
  else System . out . println ( "BigInteger" ) ;
}

public static void main ( String args [ ] ) throws IOException { BufferedReader br = new BufferedReader ( new InputStreamReader ( System . in ) ) ; String param [ ] = br . readLine ( ) . trim ( ) . split ( " \\ s + " ) ; BigInteger m = new BigInteger ( param [ 0 ] ) ; BigInteger A = new BigInteger ( "127" ) ; BigInteger B = new BigInteger ( "32767" ) ; BigInteger C = new BigInteger ( "2147483647" ) ; BigInteger D = new BigInteger ( "9223372036854775807" ) ; if ( m . compareTo ( A ) <= 0 ) System . out . println ( " byte " ) ; else if ( m . compareTo ( B ) <= 0 ) System . out . println ( " short " ) ; else if ( m . compareTo ( C ) <= 0 ) System . out . println ( " int " ) ; else if ( m . compareTo ( D ) <= 0 ) System . out . println ( " long " ) ; else System . out . println ( " BigInteger " ) ; }
(method_declaration (modifiers) type: (void_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (type_identifier) name: (identifier) dimensions: (dimensions))) (throws (type_identifier)) body: (block (local_variable_declaration type: (type_identifier) declarator: (variable_declarator name: (identifier) value: (object_creation_expression type: (type_identifier) arguments: (argument_list (object_creation_expression type: (type_identifier) arguments: (argument_list (field_access object: (identifier) field: (identifier)))))))) (local_variable_declaration type: (type_identifier) declarator: (variable_declarator name: (identifier) dimensions: (dimensions) value: (method_invocation object: (method_invocation object: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)) name: (identifier) arguments: (argument_list)) name: (identifier) arguments: (argument_list (string_literal))))) (local_variable_declaration type: (type_identifier) declarator: (variable_declarator name: (identifier) value: (object_creation_expression type: (type_identifier) arguments: (argument_list (array_access array: (identifier) index: (decimal_integer_literal)))))) (local_variable_declaration type: (type_identifier) declarator: (variable_declarator name: (identifier) value: (object_creation_expression type: (type_identifier) arguments: (argument_list (string_literal))))) (local_variable_declaration type: (type_identifier) declarator: (variable_declarator name: (identifier) value: (object_creation_expression type: (type_identifier) arguments: (argument_list (string_literal))))) (local_variable_declaration type: (type_identifier) declarator: (variable_declarator name: (identifier) value: (object_creation_expression type: (type_identifier) arguments: (argument_list (string_literal))))) (local_variable_declaration type: (type_identifier) declarator: (variable_declarator name: (identifier) value: (object_creation_expression type: (type_identifier) arguments: (argument_list (string_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (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 object: (identifier) name: (identifier) arguments: (argument_list (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 object: (identifier) name: (identifier) arguments: (argument_list (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 object: (identifier) name: (identifier) arguments: (argument_list (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))))))))))