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