#include <bits/stdc++.h>
using namespace std;
int xp, yp, xv, yv;
int main() {
  int tag = 0;
  scanf("%d%d%d%d", &xp, &yp, &xv, &yv);
  if (xp + yp <= max(xv, yv))
    tag = 1;
  else if (xp <= xv && yp <= yv)
    tag = 1;
  if (tag)
    printf("Polycarp\n");
  else
    printf("Vasiliy");
  return 0;
}
