public class Main {
  public static void main(String[] a) {
    Shape s = null;
    s = new Shape();
    s.centerX = 5;
    s.centerY = 3;
    swap2(s);
    String output = s.toString();
    System.out.println(output);
  }

  public static void swap(int a, int b) {
    int t = a;
    a = b;
    b = t;
  }

  public static void swap2(Shape shape) {
    int t = shape.centerX;
    shape.centerX = shape.centerY;
    shape.centerY = t;
  }
}
