#include #include #include #include #include #include #include #include #include using namespace std; #define rep(i,n) for (int i = 0; i < (n); ++i) #define all(x) (x).begin(),(x).end() typedef long long ll; using P = pair; #define INF 1001001001 #define LINF (1LL<<60) #define F first #define S second template inline bool chmax(T& a, T b){ if(a inline bool chmin(T& a, T b){ if(a>b){ a=b; return 1; } return 0; } int main() { char c; int s, t; cin >> s >> t >> c; bool ans; if (c == '<') ans = (s') ans = (s>t) ? true : false; else ans = (s==t) ? true : false; if (ans) puts("YES"); else puts("NO"); }