#include #include using namespace std; using ll = long long; template inline bool chmax(T& a, const T& b) {if (a inline bool chmin(T& a, const T& b) {if (b> A >> B; while (max(A,B) > 0) { if (A%10 < B%10) { cout << "No\n"; return 0; } A/=10; B/=10; } cout << "Yes\n"; return 0; }