#include <bits/stdc++.h>
using namespace std;
int main() {
  int t;
  cin >> t;
  while (t--) {
    int a[252];
    for (int i = 1; i <= 250; i++) cin >> a[i];
    sort(a + 1, a + 251);
    int c = 0, mid = a[125], l = (int)(mid * 0.75), r = (int)(mid * 1.25);
    for (int i = 1; i <= 250; i++) {
      if (a[i] >= l && a[i] <= r) c++;
    }
    if (c >= 125)
      cout << "poisson\n";
    else
      cout << "uniform\n";
  }
}
