#include <bits/stdc++.h>
#pragma warning(disable : 4996)
using namespace std;
void solve() {
  int x[2], y[2];
  cin >> x[0] >> y[0];
  cin >> x[1] >> y[1];
  if (x[0] + y[0] <= max(x[1], y[1]) || (x[0] <= x[1] && y[0] <= y[1])) {
    cout << "Polycarp";
    return;
  }
  cout << "Vasiliy";
}
int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  solve();
  return 0;
}
