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: Runtime Error)

use proconio::{input, fastout};
use std::{thread, time};

#[fastout]
fn main() {
  input!(x: i32);
  
  match x {
    40 => { // WA
      println!("No");
    },
    -40 => { // TLE
      thread::sleep(time::Duration::from_secs(5));
      println!("No");
    },
    29 => { // RE
      println!("{}", 1 / (x - 29));
    },
    -29 => { // MLE
      let mut fib = Vec::with_capacity(std::usize::MAX);
      fib[0] = 0;
      fib[1] = 1;
      for i in 2 .. std::usize::MAX {
        fib[i] = fib[i-2] + fib[i-1];
      }
      println!("{}", fib[std::usize::MAX - 1]);
    },
    _ => { // AC
      println!("{}", if x >= 30 { "Yes" } else { "No" });
    },
  }
}