Two cookies#10660

Two cookies (Editorial)

Subtask 1

You can output what is given in the sample. Alternatively, ask , and .

Subtask 2

First ask and . Let the returned value be .

Then ask and . Let the returned value be .

Then, ask $y