#include<iostream>
#include<algorithm>
#include<vector>
#define ll long long
using namespace std;
void solve()
{
ll n;
cin >> n;
ll to = n + 1;
cout << to * -1 << "
";
}
int main()
{
int t;
cin >> t;
while (t--)
{
solve();
}
return 0;
}