#include <bits/stdc++.h>
using namespace std;
int T, x, sqr, mx;
int main() {
  scanf("%d", &T);
  while (T--) {
    sqr = 0, mx = 0;
    for (int i = 1; i <= 250; i++)
      scanf("%d", &x), sqr += x * x, mx = max(mx, abs(x));
    puts(sqr / 250.0 / mx / mx < 0.25 ? "poisson" : "uniform");
  }
}
