#include <bits/stdc++.h>
const double eps = 1e-8;
const int MAXN = (int)1e9 + 5;
using namespace std;
int main(int argc, char const *argv[]) {
  int x1, y1, x2, y2;
  cin >> x1 >> y1 >> x2 >> y2;
  if (x1 + y1 <= max(x2, y2) || (x1 <= x2 && y1 <= y2))
    puts("Polycarp");
  else
    puts("Vasiliy");
  return 0;
}
