#include <bits/stdc++.h>
using namespace std;
int n;
void f(char* s1, char* s2, char* a) {
  int u = 0, d = 0, c = 0;
  while (u < n && d < n) {
    if (s1[u] == s2[d]) {
      a[c++] = s1[u];
    } else {
    }
  }
}
int main() {
  int x1, y1, x2, y2;
  while (cin >> x1 >> y1 >> x2 >> y2) {
    if (x1 + y1 <= max(x2, y2) || (x1 <= x2 && y1 <= y2))
      puts("Polycarp");
    else
      puts("Vasiliy");
  }
}
