#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, m, k, t;
  cin >> n >> m >> k >> t;
  vector<pair<int, int>> v;
  for (int i = 1; i <= k; i++) {
    int a, b;
    cin >> a >> b;
    v.push_back(make_pair(a, b));
  }
  while (t--) {
    int a, b;
    cin >> a >> b;
    int total = (a - 1) * m + b;
    int f = 0;
    for (int i = 0; i < k; i++) {
      int x = v[i].first;
      int y = v[i].second;
      if (x == a && y == b) {
        f = 1;
        break;
      }
      if (x < a || (x == a && y < b)) total--;
    }
    if (f == 1)
      cout << "Waste" << endl;
    else {
      total = total % 3;
      if (total == 0)
        cout << "Grapes" << endl;
      else if (total == 1)
        cout << "Carrots" << endl;
      else
        cout << "Kiwis" << endl;
    }
  }
  return 0;
}
