#include <bits/stdc++.h>   using namespace std;   int main() {     int q, n, sum, a;     cin >> q;     while (q--) {       sum = 0;       cin >> n;       for (int i = 0; i < n; i++) {         cin >> a;         sum += a;       }       cout << (sum + n - 1) / n << endl;     }   }   