#include <bits/stdc++.h>
using namespace std;
void getint(int &v) {
  char ch, fu = 0;
  for (ch = '*'; (ch < '0' || ch > '9') && ch != '-'; ch = getchar())
    ;
  if (ch == '-') fu = 1, ch = getchar();
  for (v = 0; ch >= '0' && ch <= '9'; ch = getchar()) v = v * 10 + ch - '0';
  if (fu) v = -v;
}
double s, t;
int T, a[555];
int main() {
  scanf("%d", &T);
  while (T--) {
    s = t = 0;
    for (int i = 1; i <= 250; ++i) scanf("%d", &a[i]), s += a[i];
    s /= 250;
    for (int i = 1; i <= 250; ++i) t += (s - a[i]) * (s - a[i]);
    if (t / s < 500)
      puts("poisson");
    else
      puts("uniform");
  }
  return 0;
}
