#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  int a, b, x, y;
  cin >> a >> b >> x >> y;
  if (a + b <= max(x, y) || a <= x && b <= y)
    cout << "Polycarp" << endl;
  else
    cout << "Vasiliy" << endl;
  return 0;
}
