    public class Input {
    public static double Ja, Jb, Jc, Jd,
u1 = -25   ,
u2 = 108   ,
                            x1, x2, x3, x4, x5, x6

    ;
    public static String[] points = {
                        "A", "B", "C", "B1", "C1", "A1"

};
    public static int[] gPoint =   {2}   ;
    public static int[] yPoint =   {}   ;
    public static int[] rPoint =   {0, 1, 3, 4, 5}   ;
    public static String[] freeVar =
                                {"_u1", "_u2"}

;
    public static int[] cooX = {
                          0, 150, -25, -106, 75, 156

};
    public static int[] cooY = {
                           0, 0, 108, 32, -129, 206

};
                       public static String[][] coor = {

{   "_0"   ,   "_0"   },
{   "_1"   ,   "_0"   },
{   "_u1"   ,   "_u2"   },
{   "_x3"   ,   "_x4"   },
{   "_x1"   ,   "_x2"   },
{   "_x5"   ,   "_x6"   } } ;
public static int[][] relLine = {{1, 2}, {1, 3}, {2, 3}, {1, 4}, {2, 4},

    {3, 4}, {1, 5}, {2, 5}, {3, 5}, {1, 6}, {2, 6}, {3, 6}}

;
                      public static int[][] relCir2 = {}

;
                      public static int[][] relCir3 = {}

;
    public static int[] center = {
                                    42, 36

};
 
    public static int centerX() { return center[0]; }
    public static int centerY() { return center[1]; }
    public static int pointNo() { return points.length; }
    public static int greenPointNo() { return gPoint.length; }
    public static int yellowPointNo() { return yPoint.length; }
    public static int redPointNo() { return rPoint.length; }
    public static int lineNo() { return relLine.length; }
    public static int circle2No() { return relCir2.length; }
    public static int circle3No() { return relCir3.length; }
    public static String point(int i) { return points[i]; }
    public static int greenPoint(int i) { return gPoint[i]; }
    public static int yellowPoint(int i) { return yPoint[i]; }
    public static int redPoint(int i) { return rPoint[i]; }
    public static int coordinateX(int i) { return cooX[i]; }
    public static int coordinateY(int i) { return cooY[i]; }
    public static int relationLine(int i, int j) { return relLine[i][j]; }
    public static int relationCircle2(int i, int j) { return relCir2[i][j]; }
    public static int relationCircle3(int i, int j) { return relCir3[i][j]; }
    public static double getCoo(int Jp, int Jq, int Jx, int Jy, int Ji, int Jz\
, int Jw, int Ju, int Jv) {
if ( Ji ==   2   ) {    u1   = Jx ;
u2   = Jy ; }
if ( Jp ==   2   & Jq ==   0   ) { return   u1   ; }
if ( Jp ==   2   & Jq ==   1   ) { return   u2   ; }
if ( Jp ==   4   & Jq ==   0   ) {
x1   =
(   75   ) /
(   1   ) ;
return   x1   ; }
if ( Jp ==   4   & Jq ==   1   ) {
Ja =   1   ;
Jb =   0   ;
Jc =   -16875   ;
Jd = Math.pow(Jb,2)-4*Ja*Jc ;
Ja = 2*Ja ;
Jb = -Jb/Ja ;
if (Ji == Jp)  if ((Jw > Jb & Ja > 0) || (Jw < Jb & Ja < 0))
x2   = Jb + Math.sqrt(Jd)/Ja ;
else   x2   = Jb - Math.sqrt(Jd)/Ja ;
else if (Math.abs(Jb-Math.sqrt(Jd)/Ja-Jz)<Math.abs(Jb+Math.sqrt(Jd)/Ja-Jz))
x2   = Jb - Math.sqrt(Jd)/Ja ;
else   x2   = Jb + Math.sqrt(Jd)/Ja ;
return   x2   ; }
if ( Jp ==   3   & Jq ==   0   ) {
x3   =
(   75*u1+u2*x2   ) /
(   150   ) ;
return   x3   ; }
if ( Jp ==   3   & Jq ==   1   ) {
x4   =
(   75*u2-u1*x2   ) /
(   150   ) ;
return   x4   ; }
if ( Jp ==   5   & Jq ==   0   ) {
x5   =
(   75*u1+11250-u2*x2   ) /
(   150   ) ;
return   x5   ; }
if ( Jp ==   5   & Jq ==   1   ) {
x6   =
(   75*u2-150*x2+u1*x2   ) /
(   150   ) ;
return   x6   ; }
    return Jz ;
}
    public static boolean free(int i, int c) {
        for (int j=0; j<freeVar.length; j++) {
            if (coor[i][c].equals(freeVar[j])) {return true;}
        }
        return false;
    }
    public static double Mpow(double x, int y) { return Math.pow(x, y); }
}
