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