#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, m, k, q;
  cin >> n >> m >> k >> q;
  map<int, int> mp;
  while (k > 0) {
    k--;
    int x, y;
    cin >> x >> y;
    mp[((x - 1) * m) + y] = 1;
  }
  int num = 0;
  while (q > 0) {
    q--;
    int x, y;
    cin >> x >> y;
    x = (x - 1) * m + y;
    int temp = 0, count = 0;
    map<int, int>::iterator pp;
    for (pp = mp.begin(); pp != mp.end(); ++pp) {
      if (pp->first > x)
        break;
      else {
        if (pp->first == x) {
          temp = -1;
          break;
        }
        count++;
      }
    }
    if (temp != -1) {
      temp = (x - count);
    }
    if (temp == -1)
      cout << "Waste" << endl;
    else if (temp % 3 == 1)
      cout << "Carrots" << endl;
    else if (temp % 3 == 2)
      cout << "Kiwis" << endl;
    else if (temp % 3 == 0)
      cout << "Grapes" << endl;
  }
  return 0;
}
