#include <bits/stdc++.h>
#pragma comment(linker, "/STACK:256000000")
using namespace std;
int main() {
  int xp, yp, xv, yv;
  cin >> xp >> yp >> xv >> yv;
  if (xp + yp <= max(xv, yv) || (xp <= xv && yp <= yv))
    cout << "Polycarp" << endl;
  else
    cout << "Vasiliy" << endl;
  return 0;
}
