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 Haskell (GHC 8.8.3) (judge verdict: Accepted)

import           Control.Applicative
import           Control.Arrow
import           Control.Monad
import           Data.Bits
import qualified Data.ByteString.Char8         as B
import           Data.Char
import           Data.List
import qualified Data.Vector.Unboxed           as V
import           Data.Maybe

main = do
  let readInt = fmap (second B.tail) . B.readInt
  a <- fst . fromJust . readInt <$> B.getLine
  putStrLn $ if a >= 30 then "Yes" else "No"