#include <bits/stdc++.h>
using namespace std;
int main() {
  int xp, yp, xv, yv;
  cin >> xp >> yp >> xv >> yv;
  bool sol;
  if (xp <= xv and yp <= yv) {
    sol = true;
  } else if (xv <= xp and yv <= yp) {
    sol = false;
  } else {
    int dp = xp + yp;
    int dv = max(xv, yv);
    sol = dp <= dv;
  }
  cout << (sol ? "Polycarp" : "Vasiliy") << endl;
}
