class Ideone
{
	public static void main (String[] args) throws java.lang.Exception
	{
		Integer x = 524;
		Integer y = x + 1;
		Integer z = y - 1;
		System.out.println("equals? " + x.equals(z));
		System.out.println("==? " + (x == z));
	}
}