#include <bits/stdc++.h>
using namespace std;
const int N = 1e5 + 10;
int a, b, c, d;
int main() {
  cin >> a >> b >> c >> d;
  if (a + b <= max(c, d) || (a <= c && b <= d))
    puts("Polycarp");
  else
    puts("Vasiliy");
  return 0;
}
