#include using namespace std; #define READ() freopen("in.txt","r",stdin) #define WRITE() freopen("out.txt","w",stdout) #define sf(n) scanf("%d",&n) #define sl(x) scanf("%I64d",&x) #define lsf(n) scanf("%lld", &n) #define pb(n) push_back(n) #define mem(x,y) memset(x,y,sizeof(x)) #define D(x) cout << #x << " = " << x << endl #define YOLO cout << "YOLO" << endl #define NL printf("\n") #define EPS 1e-10 #define INF INT_MAX #define MAX INT_MAX #define MOD 1000000007 #define LL long long #define endl "\n" #define pi 2.0*acos(0.0) #define cnd tree[idx] #define lnd tree[left] #define rnd tree[right] #define callLeft left,st,mid #define callRight right,mid+1,ed int arr[100005]; int main() { // ios_base::sync_with_stdio(false); // cin.tie(0); /// use "\n" instead of endl // READ(); // WRITE(); int n; cin >> n; int a,b,q; cin >> a >> b >> q; for(int i=0;i> arr[i]; while(q--) { int tp,i,j; cin >> tp >> i >> j; } cout << "No\nYes" << endl; return 0; }