#include <bits/stdc++.h>
using namespace std;
int main() {
  ios ::sync_with_stdio(0);
  cin.tie(0);
  cout << (fixed) << setprecision(9);
  long long xp, yp, xv, yv;
  while (cin >> xp >> yp >> xv >> yv) {
    if (xp + yp <= max(xv, yv))
      cout << "Polycarp" << endl;
    else if (xp <= xv && yp <= yv)
      cout << "Polycarp" << endl;
    else
      cout << "Vasiliy" << endl;
  }
}
