function main(input){ var S=input.split("\n")[0].split(" "); var a=S[0]; var b=S[1]; var c=S[2]; //console.log(S); //console.log(a); //console.log(b); //console.log(c); if((c=="="&&a==b)||(c=="<"&&a"&&a>b)){ console.log("YES"); }else{ console.log("NO"); } return; } main(require("fs").readFileSync("/dev/stdin", "utf8"));