#include int main(void){ int N,M; int sa[124750],sb[124750]; int count[501]={0}; int Count=0; scanf("%d", &N); scanf("%d", &M); for(int i=0;i2) printf("NO\n"); else printf("YES\n"); return 0; }