#include <bits/stdc++.h>
using namespace std;
int main() {
  int x1, y1, x2, y2;
  scanf("%d%d%d%d", &x1, &y1, &x2, &y2);
  int sum1 = x1 + y1;
  int sum2;
  if (x2 <= y2)
    sum2 = y2;
  else
    sum2 = x2;
  if (sum1 <= sum2) {
    puts("Polycarp");
    return 0;
  }
  if (x1 <= x2 && y1 <= y2)
    puts("Polycarp");
  else
    puts("Vasiliy");
  return 0;
}
