int MAX(int X,int Y)
{if (X>Y) return X; else return Y;}

