s,t,c = input() if c == "=": ans = (s == t) if c == ">": ans = (int(s) > int(t)) if c == "<": ans = (int(s) < int(t)) print("YES" if ans else "NO")