#include <bits/stdc++.h>
using namespace std;
const int maxn = 2000 * 100 + 12;
int main() {
  int x1, x2, y1, y2;
  cin >> x1 >> y1 >> x2 >> y2;
  int ki = 1;
  while (x1 || x2 || y1 || y2) {
    if (ki % 2) {
      if (x1 && y1) {
        if (y2 > y1)
          x1--;
        else
          y1--;
      } else if (x1)
        x1--;
      else
        y1--;
    } else {
      if (x2 && y2) {
        if (x2 != x1 + 1 || y2 != y1 + 1)
          x2--, y2--;
        else
          x2--;
      } else if (x2)
        x2--;
      else
        y2--;
    }
    if (x1 == 0 && y1 == 0) {
      cout << "Polycarp";
      return 0;
    }
    if (x2 == 0 && y2 == 0) {
      cout << "Vasiliy";
      return 0;
    }
    ki++;
  }
  return 0;
}
