409892: GYM103828 E Where is Naseem?

Memory Limit:256 MB Time Limit:1 S
Judge Style:Text Compare Creator:
Submit:0 Solved:0

Description

E. Where is Naseem?time limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard output

In this contest, there is a superhero team with $$$n$$$ contestants, one of them is Naseem, while the contest is running he wants to go out to smoke, and while he is out he wonders how many members of his team are still in the contest.

Input

The first line of input contains a single integer $$$T$$$ $$$(1 \le T \le 10^5)$$$, the number of test cases.

The next $$$T$$$ lines each contains a single integer $$$n$$$ $$$(1 \le n \le 10^5)$$$, the number of contestants in Naseem's team.

Output

Print $$$T$$$ lines, each containing a single integer, the number of members of his team that are still in the contest.

ExampleInput
2
3
7
Output
2
6
Note

Explanation of the first sample case:

Naseem's team consists of 3 people (including Naseem). After he went out, only 2 of them are now left in the contest.

加入题单

算法标签: