#include <bits/stdc++.h>
#pragma GCC optimize("O3")
#pragma GCC optimize("Ofast")
#pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=native")
using namespace std;
long long x[2], y[2], s1, s2;
int32_t main() {
  cin >> x[0] >> y[0];
  cin >> x[1] >> y[1];
  s1 = min(x[1], y[1]) + max(x[1], y[1]) - min(x[1], y[1]);
  s2 = x[0] + y[0];
  if (s2 <= s1 || (x[0] <= x[1] && y[0] <= y[1])) {
    cout << "Polycarp";
  } else
    cout << "Vasiliy";
  return 0;
}
