#include <bits/stdc++.h>
using namespace std;
int main() {
  int x, y, a, b;
  cin >> x >> y >> a >> b;
  if (x <= a && y <= b) {
    cout << "Polycarp";
    return 0;
  }
  if (x >= a && y >= b) {
    cout << "Vasiliy";
    return 0;
  }
  if (a > x) {
    int count = 0;
    while (a > x && b > 0) {
      count++;
      a--;
      b--;
    }
    while (a > x) {
      count++;
      a--;
    }
    while (count > 0) {
      y--;
      count--;
    }
    if (y <= b)
      cout << "Polycarp";
    else
      cout << "Vasiliy";
    return 0;
  }
  if (a < x) {
    int count = 0;
    while (a > 0 && b > y) {
      count++;
      a--;
      b--;
    }
    while (b > y) {
      count++;
      b--;
    }
    while (count > 0) {
      x--;
      count--;
    }
    if (x <= a)
      cout << "Polycarp";
    else
      cout << "Vasiliy";
    return 0;
  }
  return 0;
}
