#include <bits/stdc++.h>
using namespace std;
int main() {
  int ans, n;
  n = 3;
  ans = 1;
  if (ans == n) {
    cout << "not coprime" << endl;
    return 0;
  } else if (ans > 1) {
    cout << "setwise coprime" << endl;
    return 0;
  } else {
    cout << "pairwise coprime" << endl;
    return 0;
  }
}
