Alice and Bob are two separate executions of the same submitted program.
In the first execution, the program plays Alice. Alice receives two integers and , and must print one integer .
In the second execution, the program plays Bob. Bob receives only Alice's printed value , and must recover the original and .
The two executions run as fresh independent processes. Memory, global variables, files, and process state from the first execution are not carried to the second execution. The only information passed to the second execution is Alice's integer .
Input
For each test case, the submitted program is executed at most twice.
The input for Alice's execution has the following format.
ALICE
A B
The input for Bob's execution has the following format.
BOB
x
Output
In Alice's execution, print one integer such that .
In Bob's execution, print the original two integers and , separated by a space.
If Alice's output is not an integer, does not satisfy , or contains extra tokens, the submission is wrong. If Bob's output is not the original , , the submission is wrong.
Constraints
Subtasks
Samples
Alice can encode and as the integer .
Bob can recover the original integers and from .