#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  int n, m, k, t;
  cin >> n >> m >> k >> t;
  int ar[k][2];
  for (int i = 0; i < k; i++) {
    cin >> ar[i][0] >> ar[i][1];
  }
  int temp1, temp2;
  while (t--) {
    int flag = false;
    cin >> temp1 >> temp2;
    for (int i = 0; i < k; i++) {
      if (ar[i][0] == temp1 && ar[i][1] == temp2) {
        cout << "Waste\n";
        flag = true;
        break;
      }
    }
    if (flag == false) {
      int val = 0;
      val = (temp1 - 1) * m + temp2;
      int counter = 0;
      for (int i = 0; i < k; i++) {
        if (ar[i][0] < temp1 || (ar[i][0] == temp1 && ar[i][1] < temp2))
          counter++;
      }
      val = val - counter;
      if (val % 3 == 1)
        cout << "Carrots\n";
      else if (val % 3 == 2)
        cout << "Kiwis\n";
      else
        cout << "Grapes\n";
    }
  }
}
