public class equal_test {
  public static void main(String[] args) {
    int a = new Integer(5);
    int b = new Integer(5);
    System.out.println(a==b);
    a = a-1;
    b = b-1;
    System.out.println(a==b);
  }
}