#include #include #include using namespace std; int main() { string a, b; cin >> a >> b; for(int i=0; i a[i]) { cout << "NO" << endl; return 0; } } cout << "YES" << endl; return 0; }