Problem:
Score : 100 points

Problem Statement

You are given three integers A, B and C.
Determine whether C is not less than A and not greater than B.

Constraints

-100≤A,B,C≤100

A, B and C are all integers.

Input

Input is given from Standard Input in the following format:

A B C

Output

If the condition is satisfied, print Yes; otherwise, print No.

Sample Input 1

1 3 2

Sample Output 1

Yes

C=2 is not less than A=1 and not greater than B=3, and thus the output should be Yes.

Sample Input 2

6 5 4

Sample Output 2

No

C=4 is less than A=6, and thus the output should be No.

Sample Input 3

2 2 2

Sample Output 3

Yes

Solution in C# (Mono 4.6.2.0) (judge verdict: Runtime Error)

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ABC_A
{
    class Program
    {
        static void Main(string[] args)
        {
            string[] input = Console.ReadLine().Split(' ');
            int n = int.Parse(input[0]);
            int k = int.Parse(input[1]);

            int[] a = new int[n];
            int[] b = new int[n];
            numArray[] ary = new numArray[n];
            for (int i = 0; i < n; i++)
            {
                string[] line = Console.ReadLine().Split(' ');
                a[i] = int.Parse(line[0]);
                b[i] = int.Parse(line[1]);

                ary[i] = new numArray(a[i], b[i]);
            }
            Array.Sort(ary);

            int j = 0;
            int sum = 0;
            int targetNumber;
            while (true)
            {
                sum += ary[j].length;
                if (sum >= k)
                {
                    targetNumber = ary[j].number;
                    break;
                }
                j++;
            }

            Console.WriteLine(targetNumber);
            return;
        }

        class numArray:IComparable<numArray>
        {
            public int number { get; }
            public int length { get; }
            public numArray(int number, int length)
            {
                this.number = number;
                this.length = length;
            }

         

            public int CompareTo(numArray other)
            {
                if (number == other.number) return 0;
                else if(number < other.number) return -1;
                else return 1;
            }
        }
    }


}