Under construction

Still being built. Things may change

Most Likely Data Type

Time limit1sMemory limit1024 MB

Summary
Given an integer N, print the smallest type among short, int, and long long that can hold N exactly.
Level

Easy1 of 10

Topics
Implementation
Solved
No attempts yet

Problem

Sunrin likes writing efficient code, so he picks a data type in the following way. Find the data type Sunrin will choose.

Sunrin picks a data type by the following criteria.

  • Pick the data type that can represent the value exactly and uses the least memory.
  • The data type he can pick is one of short, int, or long long.
TypeMinimumMaximum
short-2^{15}$$-32,7682^{15}-1$$32,767
int-2^{31}$$-2,147,483,6482^{31}-1$$2,147,483,647
long long-2^{63}$$-9,223,372,036,854,775,8082^{63}-1$$9,223,372,036,854,775,807

Input

An integer NN is given.

Output

Print the data type Sunrin will choose.

Constraints

  • −263≤N≤263−1-2^{63}\leq N\leq 2^{63}-1
  • In other words, NN fits within the range of long long in C++.

Examples3

  1. Example 1

    Input
    20150116
    
    Expected output
    int
    
  2. Example 2

    Input
    838578827378
    
    Expected output
    long long
    
  3. Example 3

    Input
    -10
    
    Expected output
    short