Problem:
Score : 100 points

Problem Statement

You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above.

The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?

Constraints

-40 \leq X \leq 40

X is an integer.

Input

Input is given from Standard Input in the following format:

X

Output

Print Yes if you will turn on the air conditioner; print No otherwise.

Sample Input 1

25

Sample Output 1

No

Sample Input 2

30

Sample Output 2

Yes

Solution in C# (.NET Core 3.1.201) (judge verdict: Accepted)

using System;

namespace ABC174
{
    class Program
    {
        static long Gcd(long a, long b)
        {
            long[] v = new long[] { a, b };
            while (v[1] != 0) { v = new long[] { v[1], v[0] % v[1] }; }
            return v[0];
        }
        static long Lcm(long a, long b)
        {
            return a / Gcd(a, b) * b;
        }
        class Node<T>
        {
            private int m_height;
            private Node<T> m_parent;
            public T Item { get; private set; }
            public Node(T item)
            {
                m_height = 0;
                m_parent = this;
                Item = item;
            }
            public Node<T> Find()
            {
                if (m_parent == this) { return this; }

                Node<T> parent = m_parent.Find();
                m_parent = parent;
                return parent;
            }
            public static void Unite(Node<T> a, Node<T> b)
            {
                Node<T> p = a.Find();
                Node<T> q = b.Find();
                if (p.m_height < q.m_height)
                {
                    p.m_parent = q;
                    q.m_height = Math.Max(p.m_height + 1, q.m_height);
                }
                else
                {
                    q.m_parent = p;
                    p.m_height = Math.Max(q.m_height + 1, p.m_height);
                }
            }
        }
        static void Main(string[] args)
        {
            int a = int.Parse(Console.ReadLine());
            string ans = "";
            if (a >= 30)
                ans = "Yes";
            else
                ans = "No";
            Console.WriteLine(ans);
        }
    }
}