#include <bits/stdc++.h>   using namespace std;   int main() {     long long a, b, c, d, e, f, g, h, i, j, k, l, m, n, t;     cin >> t;     while (t--) {       cin >> n;       cout << (n + 1) / 2 << endl;     }   }   