#include <bits/stdc++.h>
using namespace std;
int T, p[300], cnt;
double a, b;
int main() {
  scanf("%d", &T);
  while (T--) {
    a = b = cnt = 0;
    for (int i = 0; i < 250; i++) {
      scanf("%d", &p[i]);
      a += pow(p[i], 2) / 250.0;
    }
    for (int i = 0; i < 250; i++) cnt += (abs(p[i]) < 2.0 * sqrt(a));
    if (cnt < 250)
      printf("poisson\n");
    else
      printf("uniform\n");
  }
  return 0;
}
