Consider this code segment:
int x = 10, y = 0;
while (x > 5)
{
y = 3;
while (y < x)
{
y *= 2;
if (y % x == 1)
y += x;
}
x -= 3;
}
System.out.println(x + " " + y);
What will be output after execution of this code segment?
(A) 1 6
(B) 7 12
(C) -3 12
(D) 4 12
(E) -3 6