#include <iostream>
#include <cstring>

using namespace std;

const int MAXN = 100 + 10;

int cnt[MAXN];

int main() {
  int t;
  cin >> t;
  while (t--) {
    int n, input, ans = 0;
    cin >> n;
    memset(cnt, 0, sizeof(cnt));
    for (int i = 0; i < n; ++i) {
      cin >> input;
      ++cnt[input];
      ans = max(ans, cnt[input]);
    }
    cout << ans << endl;
  }
  // system("pause");
  return 0;
}