else if (strcmp(s, "ENQ") == 0)
{
scanf("%d", &x);
if (QueueEmpty(&abc))
{
struct elem x0;
x0.val = x;
x0.max = x;
Enqueue(&abc, x0);
}
else if (x > Max(&abc))
{
struct elem x1;
x1.val = x;
x1.max = x;
Enqueue(&abc, x1);
}
else
{
struct elem x2;
x2.val = x;
x2.max = Max(&abc);
Enqueue(&abc, x2);
}
}