if

Construct a value x of type int or long such that x != 0 and x == -x, exploring two's complement overflow wrap-around.

Medium6MathBit manipulationImplementationNumber theoryNo attempts yetTime limit2sMemory limit512 MB

Problem

Fill in the two ??? spots in the Java program below so that running it prints true. Find the type and the value of x that satisfy the condition.

import java.util.*;
public class Main {
    public static void main(String[] args) {
        ??? x = ???;
        if (x != 0 && x == -x) {
            System.out.println("true");
        } else {
            System.out.println("false");
        }
    }
}

The program runs in a standard Java environment. int is a 32-bit two's complement integer and long is a 64-bit one. Integer arithmetic that overflows throws nothing and wraps around inside the range of the type.

Input

There is no input.

Output

On the first line, print the type and the value of x, separated by one space.

The type must be int or long. The value must be written in decimal so that Integer.parseInt reads it without throwing when the type is int, and Long.parseLong reads it without throwing when the type is long. Write no leading zeros, and no + in front of a positive number.

If two or more answers satisfy the condition, compare the whole output line character by character and print only the lexicographically smallest one.