#include <bits/stdc++.h>
using namespace std;
inline int read() {
  int ret = 0;
  char c;
  bool f = 0;
  while (!isdigit(c = getchar()) && c != '-')
    ;
  if (c == '-') f = 1, c = getchar();
  do ret = ret * 10 + c - '0';
  while (isdigit(c = getchar()));
  return f ? -ret : ret;
}
char name[2][10] = {"Polycarp", "Vasiliy"};
bool check(int x1, int y1, int x2, int y2) {
  if (x1 <= x2 && y1 <= y2) return 0;
  if (x1 >= x2 && y1 >= y2) return 1;
  int p1 = x1 + y1;
  int p2 = x2 + y2 - min(x2, y2);
  return p1 > p2;
}
int main() {
  int xp = read(), yp = read();
  int xv = read(), yv = read();
  puts(name[check(xp, yp, xv, yv)]);
  return 0;
}
