CF2140B Another Divisibility Problem

Description

Alice and Bob are playing a game in which Alice has given Bob a positive integer $x\le10^8$. To win the game, Bob has to find another positive integer $y\le10^9$ such that $x \operatorname{\#} y$ is divisible by $x + y$. Here $x\operatorname{\#}y$ denotes the integer formed by concatenating the integers $x$ and $y$ in that order. For example, if $x = 835$, $y = 47$, then $x \operatorname{\#} y = 83\,547$. However, since Bob is dumb, he is unable to find such an integer. Please help him. It can be shown that such an integer always exists.

Input Format

Each test contains multiple test cases. The first line contains the number of test cases $t$ ($1 \le t \le 10^4$). The description of the test cases follows. The only line of each test case contains a single integer $x$ ($1 \le x \le 10^8$) — the integer that Alice has given to Bob.

Output Format

For each test case, print a single integer $y$ ($1 \le y \le 10^9$) so that Bob can win the game. If there are multiple answers, print any one of them.

Explanation/Hint

For the first test case, $x = 8$, we can choose $y = 1$, and we have $x \operatorname{\#} y = 81$, which is divisible by $x + y = 9$. For the second test case, $x = 42$, we can choose $y = 12$, and we have $x \operatorname{\#} y = 4212$, which is divisible by $x + y = 54$.