public class Point {
    public final double x, y;
    public Point(double x, double y) {
        this.x = x; this.y = y;
    }

    public void setX(double x) { this.x = x; }
}
