#include <bits/stdc++.h>
using namespace std;
const int inf = 0x3f3f3f3f;
const int mod = 1e9 + 7;
const double eps = 1e-8;
const double pi = acos(-1.0);
const int dx[] = {-1, 1, 0, 0};
const int dy[] = {0, 0, -1, 1};
int main() {
  ios_base::sync_with_stdio(0);
  int xp, yp, xv, yv, d;
  while (cin >> xp >> yp >> xv >> yv) {
    d = min(xv, yv);
    if (xp + yp <= xv + yv - d)
      cout << "Polycarp\n";
    else if (xp <= xv && yp <= yv)
      cout << "Polycarp\n";
    else
      cout << "Vasiliy\n";
  }
  return 0;
}
