import java.io.*;
import java.lang.*;

class Point {     // class name
  private int X;  // attributes
  private int Y;
  
  Point() {   // default constructor
    X = 0;
    Y = 0;
  }
  
  Point(int X, int Y) {  // other constructeur (overloading)
    this.X = X;
    this.Y = Y;
  }
  
  void setX(int X) {  // set new values
    this.X = X;
  }
  void setY(int Y) {
    this.Y = Y;
  }

  int getX() {      // get current values
    return this.X;
  }
  int getY() {
    return this.Y;
  }

  public String toString() {  // return string representation
    return("X="+X+", Y="+Y);
  }
}
