import java.io.*;
import java.math.*;
import java.util.*;
public class Main {
       public static void main(String args[])
       {
    	   Scanner cin=new Scanner(System.in);
    	   BigDecimal a,b;
    	   while(cin.hasNextBigDecimal())
    	   {
    		      a=cin.nextBigDecimal();
    		      b=cin.nextBigDecimal();
                  if(a.compareTo(b)==0)
                  {
        	            System.out.println("YES");
                  }
                  else
                  {
                	  System.out.println("NO");
                  }
    	   }
       }
}

  

posted on 2011-09-21 22:23  枫叶飘泪  阅读(812)  评论(0编辑  收藏  举报