#include <bits/stdc++.h>
using namespace std;
const string g = "Polycarp";
const string h = "Vasiliy";
int main(void) {
  int x, y, a, b;
  cin >> x >> y >> a >> b;
  if (x + y <= max(a, b) || (x <= a && y <= b))
    return cout << g << '\n', 0;
  else
    return cout << h << '\n', 0;
}
