#include using namespace std; #define rep(i,a,b) for(int i=a;i> A >> B) { int a = calc(A); int b = calc(B); if (b <= a) cout << "YES" << endl; else cout << "NO" << endl; } }