#include <bits/stdc++.h>
using namespace std;
void swap(int *a, int *b) {
  int temp = *a;
  *a = *b;
  *b = temp;
}
long long int power(long long int a, long long int b) {
  long long int x = 1;
  long long int y = a;
  while (b > 0) {
    if (b & 1) {
      x = x * y;
      x %= 1000000007;
    }
    y = y * y;
    y %= 1000000007;
    b /= 2;
  }
  return x;
}
long long int inver(long long int a) { return power(a, 1000000007 - 2); }
int dx[] = {0, 0, 1, -1};
int dy[] = {1, -1, 0, 0};
int gcd(int a, int b) {
  while (b != 0) {
    int temp = a;
    a = b;
    b = temp % a;
  }
  return a;
}
int innumber(char c) { return c - '0'; }
bool isprime(long long int x) {
  for (long long int i = 2; i <= sqrt(x); i++) {
    if (x % i == 0) return false;
  }
  return true;
}
int main() {
  int a, b, c, d;
  ios_base::sync_with_stdio(0);
  cin >> a >> b >> c >> d;
  if (a + b <= max(c, d)) {
    cout << "Polycarp" << endl;
    return 0;
  } else if (a <= c && b <= d) {
    cout << "Polycarp" << endl;
    return 0;
  } else {
    cout << "Vasiliy" << endl;
    return 0;
  }
  return 0;
}
