#include <iostream> #include <string> using namespace std; int main(){ string a,b; cin >> a >> b; if(a < b)cout << "YES"; else cout << "NO"; return 0; }
南阳理工学院OJ 계정으로 가입하면 南阳理工学院OJ로 제공되는 모든 OJ를 이용하고 참여하실 수 있습니다.
南阳理工学院OJ 공용 계정을 사용