Problem:
Range

Write a program which reads three integers a, b and c, and prints "Yes" if a < b < c, otherwise "No".

Input

Three integers a, b and c separated by a single space are given in a line.

Output

Print "Yes" or "No" in a line.

Constraints

0 ≤ a, b, c ≤ 100

Sample Input 1

1 3 8

Sample Output 1

Yes

Sample Input 2

3 8 1

Sample Output 2

No

Solution in C# (judge verdict: Accepted)

using System;
using System.Collections.Generic;
using System.Text;

namespace ConsoleApp2
{
    class Program
    {
        static void Main(string[] args)
        {
            int? a = null;
            int? b = null;
            string judgement = "Yes";

            var Input = Console.ReadLine().Split(' ');

            foreach(var data in Input)
            {
                if(a == null)
                {
                    a = int.Parse(data);
                    continue;
                }

                b = int.Parse(data);

                if (CheckSize(a, b) == "Yes")
                {
                    judgement = CheckSize(a, b);
                    a = b;
                    continue;
                }
                else judgement = CheckSize(a, b); break;
            }

            Console.WriteLine(judgement);
        }


        private static string CheckSize(int? a, int? b)
        {
            string judge;

            if (a < b)
            {
                judge = "Yes";
                return judge;
            }
            else return judge = "No";
        }
    }
}