#include <bits/stdc++.h>
using namespace std;
const int MAX = 1e5 + 10;
const int MOD = 1e9 + 7;
int main() {
  std::ios_base::sync_with_stdio(NULL);
  cin.tie(NULL);
  cout.tie(NULL);
  int n, m, k, t;
  cin >> n >> m >> k >> t;
  vector<int> v;
  for (int i = 0; i < k; i++) {
    int a, b;
    cin >> a >> b;
    a = (a - 1) * m + b;
    v.push_back(a);
  }
  sort(v.begin(), v.end());
  for (int i = 0; i < t; i++) {
    int a, b;
    cin >> a >> b;
    a = (a - 1) * m + b;
    int pos = lower_bound(v.begin(), v.end(), a) - v.begin();
    if (v[pos] == a) {
      cout << "Waste"
           << "\n";
      continue;
    }
    int cnt = a - pos;
    if (cnt % 3 == 1)
      cout << "Carrots"
           << "\n";
    if (cnt % 3 == 2)
      cout << "Kiwis"
           << "\n";
    if (cnt % 3 == 0)
      cout << "Grapes"
           << "\n";
  }
}
