#include <bits/stdc++.h>
using namespace std;
int x[1001];
int main() {
  int n, m, k, t;
  cin >> n >> m >> k >> t;
  int a, b;
  for (int i = 0; i < k; i++) {
    cin >> a >> b;
    a--, b--;
    x[i] = a * m + b;
  }
  sort(x, x + k);
  for (int i = 0; i < t; i++) {
    cin >> a >> b;
    a--, b--;
    int count = 0;
    bool entered = false;
    for (int j = 0; j < k; j++) {
      if (x[j] == a * m + b) {
        cout << "Waste" << endl;
        entered = true;
        break;
      }
      if (x[j] > a * m + b) {
        entered = true;
        int pos = ((a * m + b) - count) % 3;
        if (pos == 0)
          cout << "Carrots" << endl;
        else if (pos == 1)
          cout << "Kiwis" << endl;
        else if (pos == 2)
          cout << "Grapes" << endl;
        break;
      }
      count++;
    }
    if (!entered) {
      int pos = ((a * m + b) - count) % 3;
      if (pos == 0)
        cout << "Carrots" << endl;
      else if (pos == 1)
        cout << "Kiwis" << endl;
      else if (pos == 2)
        cout << "Grapes" << endl;
    }
  }
  return 0;
}
