Coach $$$Apraham$$$ informed $$$Kira$$$ that the Homs-CPC would be held soon and requested that they
draft some competition problems.
$$$Kira$$$ proposed this particular problem, considering it to be an easy task, and now requests your solution.
You are given a non-negative integer $$$n$$$.
Count the number of non-negative integers $$$x$$$ such that :
The first line contains a single integer $$$T$$$ ($$$1 \le T \le 10^5$$$), the number of test cases.
Then $$$T$$$ test cases as follow.
Each test case consists of a single linecontains one integer $$$n$$$ ($$$0 \le n \le 2^{30}$$$ -$$$1$$$).
For each test case, print a single integer on a separate line: Print the number of valid integers $$$x$$$ .
1125634
2097152
| Name |
|---|


