#include <bits/stdc++.h>
using namespace std;
using ll = long long;
const ll inf = 1000000001, INF = (ll)1e18 + 1;
void solve() {
  ll xp, yp, xv, yv;
  cin >> xp >> yp >> xv >> yv;
  if (xv >= xp && yv >= yp)
    cout << "Polycarp" << endl;
  else if (xv <= xp && yv <= yp)
    cout << "Vasiliy" << endl;
  else if (yv < yp) {
    ll distp = xp + yp, distv = xv;
    if (distv >= distp)
      cout << "Polycarp" << endl;
    else
      cout << "Vasiliy" << endl;
  } else {
    ll distp = xp + yp, distv = yv;
    if (distv >= distp)
      cout << "Polycarp" << endl;
    else
      cout << "Vasiliy" << endl;
  }
}
int main() {
  ios_base::sync_with_stdio(false);
  solve();
  return 0;
}
