// For defining x > y #define MAX(X, Y) (((X) > (Y)) ? (X) : (Y)) // For defining x < y #define MIN(X, Y) (((X) < (Y)) ? (X) : (Y))