#include <bits/stdc++.h>   using namespace std;   int main() {     std::ios::sync_with_stdio(false);     cin.tie(0);     cout.tie(0);     int n;     cin >> n;     int a[n + 2];     int pos[n + 2];     for (int i = 1; i <= n; i++) {       cin >> a[i];       pos[a[i]] = i;     }     int swap = 0;     for (int i = 1; i <= n; i++) {       int p = pos[i];       if (p == i) continue;       int prev = a[i];       a[i] = i;       pos[prev] = p;       a[p] = prev;       pos[i] = i;       swap++;     }     if (n % 2) {       if (swap % 2) {         cout <<  Petr n ;       } else {         cout <<  Um_nik n ;       }     } else {       if (swap % 2) {         cout <<  Um_nik n ;       } else {         cout <<  Petr n ;       }     }     return 0;   }   