#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, m, k, t;
  cin >> n >> m >> k >> t;
  vector<int> arr(k);
  for (int i = 0; i < k; i++) {
    int a, b;
    cin >> a >> b;
    arr[i] = (a - 1) * m + b;
  }
  sort(arr.begin(), arr.end());
  while (t--) {
    int a, b;
    cin >> a >> b;
    int ans =
        lower_bound(arr.begin(), arr.end(), (a - 1) * m + b) - arr.begin();
    if (arr[ans] == (a - 1) * m + b) {
      cout << "Waste\n";
      continue;
    }
    ans = (a - 1) * m + b - ans;
    ans = ans % 3;
    if (ans == 0) {
      cout << "Grapes\n";
      continue;
    }
    if (ans == 1) {
      cout << "Carrots\n";
      continue;
    }
    if (ans == 2) {
      cout << "Kiwis\n";
      continue;
    }
  }
}
