class X {
    int X;
    X(int X) { this(X,X++); this.X=X; }
    X(int X, int XX) { this.X+=XX+=this.X+X++; }
    int X(int X) { X(this); return X; }
    X X(X X) { X.X+=++x.XX; return new X(X.X); }
} // class X

public class x {
    static int XX;
    public static void main(String[] XXX) {
	X X = new X( (new X(++x.XX)).X );
	X(X.X(X.X));
	X(X.X(X).X);
	X(X(X.X(X)));
    } // method main

    static int X(X X) {return X.X;}
    public static void X(int X) {System.out.println(X);}
} // class x


// Output1: ___________

// Output2: ___________

// Output3: ___________
