CF66A.Petya and Java

普及/提高-

通过率:0%

AC君温馨提醒

该题目为【codeforces】题库的题目,您提交的代码将被提交至codeforces进行远程评测,并由ACGO抓取测评结果后进行展示。由于远程测评的测评机由其他平台提供,我们无法保证该服务的稳定性,若提交后无反应,请等待一段时间后再进行重试。

题目描述

Little Petya has recently started attending a programming club. Naturally he is facing the problem of choosing a programming language. After long considerations he realized that Java is the best choice. The main argument in favor of choosing Java was that it has a very large integer data type, called BigInteger.

But having attended several classes of the club, Petya realized that not all tasks require using the BigInteger type. It turned out that in some tasks it is much easier to use small data types. That's why a question arises: "Which integer type to use if one wants to store a positive integer nn ?"

Petya knows only 5 integer types:

1) byte occupies 1 byte and allows you to store numbers from 128-128 to 127127

2) short occupies 2 bytes and allows you to store numbers from 32768-32768 to 3276732767

3) int occupies 4 bytes and allows you to store numbers from 2147483648-2147483648 to 21474836472147483647

4) long occupies 8 bytes and allows you to store numbers from 9223372036854775808-9223372036854775808 to 92233720368547758079223372036854775807

5) BigInteger can store any integer number, but at that it is not a primitive type, and operations with it are much slower.

For all the types given above the boundary values are included in the value range.

From this list, Petya wants to choose the smallest type that can store a positive integer nn . Since BigInteger works much slower, Peter regards it last. Help him.

输入格式

The first line contains a positive number nn . It consists of no more than 100100 digits and doesn't contain any leading zeros. The number nn can't be represented as an empty string.

Please, do not use %lld specificator to read or write 64-bit integers in C++. It is preffered to use cout (also you may use %I64d).

输出格式

Print the first type from the list "byte, short, int, long, BigInteger", that can store the natural number nn , in accordance with the data given above.

输入输出样例

  • 输入#1

    127
    

    输出#1

    byte
    
  • 输入#2

    130
    

    输出#2

    short
    
  • 输入#3

    123456789101112131415161718192021222324
    

    输出#3

    BigInteger
    
首页