#include <bits/stdc++.h>
using namespace std;
const int N = 4e5 + 5;
int32_t main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  int n, m, k, t;
  cin >> n >> m >> k >> t;
  set<int> s;
  vector<int> v;
  for (int i = 0; i < k; i++) {
    int a, b;
    cin >> a >> b;
    s.insert((a - 1) * m + b);
    v.push_back((a - 1) * m + b);
  }
  sort(v.begin(), v.end());
  while (t--) {
    int i, j;
    cin >> i >> j;
    int num = (i - 1) * m + j;
    if (s.count(num)) {
      cout << "Waste"
           << "\n";
      continue;
    }
    num -= upper_bound(v.begin(), v.end(), num) - v.begin();
    if (num % 3 == 1)
      cout << "Carrots"
           << "\n";
    else if (num % 3 == 2)
      cout << "Kiwis"
           << "\n";
    else if (num % 3 == 0)
      cout << "Grapes"
           << "\n";
  }
  return 0;
}
