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 Rust (1.42.0) (judge verdict: Accepted)

fn main() {
    let temp: i32 = read();
    if temp >= 30 {
        println!("Yes");
    } else {
       println!("No");
    }
}

use std::io::{self, BufRead, Read};
use std::vec::Vec;
fn read<T: std::str::FromStr>() -> T {
    let stdin = io::stdin();
    let mut buf = String::new();
    stdin.lock().read_line(&mut buf).unwrap();
    T::from_str(&buf.trim()).ok().unwrap()
}

fn read_all<T: std::str::FromStr>(count: usize) -> Vec<T> {
    let stdin = io::stdin();
    let mut stdin = stdin.lock();
    let mut result = Vec::<T>::with_capacity(count);
    for _ in 0..count {
        let mut buf = String::new();
        stdin.read_line(&mut buf).unwrap();
        result.push(T::from_str(&buf.trim()).ok().unwrap());
    }
    result
}