Mystery

2

2 votes
Very-Easy
Problem

No explanation.

Read the sample input and sample output and figure out a logic.

Input

First line of input contains a number T.
Next T lines consist of a number X.

Output

For each X, print a corresponding Y in the output after figuring out the logic.

Constraints

1 <= T <= 100 1<= X <= 10^18

Time Limit: 1
Memory Limit: 256
Source Limit:
Editor Image

?