#include <bits/stdc++.h>
using namespace std;
void solve() {
  int x1, y1, x2, y2;
  cin >> x1 >> y1 >> x2 >> y2;
  if ((x1 <= x2 && y1 <= y2) || x1 + y1 <= max(x2, y2)) {
    cout << "Polycarp";
  } else {
    cout << "Vasiliy";
  }
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0), cout.tie(0);
  solve();
  return 0;
}
