Problem:
Score : 100 points

Problem Statement

Takahashi is participating in a programming contest, AXC001. He has just submitted his code to Problem A.

The problem has N test cases, all of which must be passed to get an AC verdict.

Takahashi's submission has passed M cases out of the N test cases.

Determine whether Takahashi's submission gets an AC.

Constraints

1 \leq N \leq 100

0 \leq M \leq N

All values in input are integers.

Input

Input is given from Standard Input in the following format:

N M

Output

If Takahashi's submission gets an AC, print Yes; otherwise, print No.

Sample Input 1

3 3

Sample Output 1

Yes

All three test cases have been passed, so his submission gets an AC.

Sample Input 2

3 2

Sample Output 2

No

Only two out of the three test cases have been passed, so his submission does not get an AC.

Sample Input 3

1 1

Sample Output 3

Yes

Solution in Java8 (OpenJDK 1.8.0) (judge verdict: Runtime Error)

import java.util.*;

class Main{

    public static void main(String args[]) throws Exception{
        Main main = new Main();
    }

    public Main(){
        Scanner scanner = new Scanner(System.in);
        int N;
        N = Integer.parseInt(scanner.next());

        int[] P = new int[N];

        for(int i=0;i<N;i++)
            P[i] = Integer.parseInt(scanner.next());


        int[] M = new int[N];
        int max=0, j, L, R;
        for(int i=N-1;i>=0;i--){
            L = -1;
            R = max;
            while(R-L > 1){
                int mid = L + (R-L)/2;
                if(P[i] < M[mid])
                    R = mid;
                else
                    L = mid;
            }
            if(max == R) max++;
            M[R] = P[i];
        }

        System.out.println(max);
    }
}