#include <bits/stdc++.h>
using namespace std;
void input() {}
void solve() {
  long long int n, m, k, t;
  cin >> n >> m >> k >> t;
  vector<long long int> v;
  while (k--) {
    long long int l, x;
    cin >> l >> x;
    long long int z = (l - 1) * m + x;
    v.push_back(z);
  }
  sort(v.begin(), v.end());
  while (t--) {
    long long int cnt = 0;
    long long int l, x;
    cin >> l >> x;
    bool flag = false;
    long long int idx = (l - 1) * m + x;
    for (auto x : v) {
      if (x < idx) {
        cnt++;
      } else if (x == idx) {
        flag = true;
        break;
      } else {
        break;
      }
    }
    if (flag) {
      cout << "Waste"
           << "\n";
      continue;
    }
    long long int ans = idx;
    ans -= cnt;
    if (ans % 3 == 1) {
      cout << "Carrots"
           << "\n";
      continue;
    }
    if (ans % 3 == 2) {
      cout << "Kiwis"
           << "\n";
      continue;
    }
    if (ans % 3 == 0) {
      cout << "Grapes"
           << "\n";
      continue;
    }
  }
}
int32_t main() {
  ios_base::sync_with_stdio(0);
  cin.tie(NULL);
  cout.tie(0);
  solve();
}
