#include <bits/stdc++.h>
using namespace std;
int main() {
  int xp, yp, xv, yv;
  cin >> xp >> yp >> xv >> yv;
  if (xv + yv < xp + yp) {
    cout << "Vasiliy\n";
    return 0;
  }
  if (xp <= xv && yp <= yv) {
    cout << "Polycarp\n";
    return 0;
  }
  if (max(xv, yv) >= (xp + yp))
    cout << "Polycarp\n";
  else
    cout << "Vasiliy\n";
  return 0;
}
