output_description: If we have x hours until New Year at M o'clock on 30th, December, print x.
  
  * * *
input_description: Input is given from Standard Input in the following format:
  
      
      
      M
attempt: fn main() {
      let m: isize = read();
      let ans = 24 + 24 - m;
      println!("{}", ans);
  }
  
  // 以下関数
  
  use std::io::*;
  use std::str::FromStr;
  pub fn read<T: FromStr>() -> T {
      let stdin = stdin();
      let stdin = stdin.lock();
      let token: String = stdin
          .bytes()
          .map(|c| c.expect("failed to read char") as char)
          .skip_while(|c| c.is_whitespace())
          .take_while(|c| !c.is_whitespace())
          .collect();
      token.parse().ok().expect("failed to parse token")
  }
  
  pub const MOD: u64 = 10e9 as u64 + 7;
  
  pub fn is_prime(n: i32) -> bool {
      if n < 2 {
          return false;
      } else if n == 2 {
          return true;
      }
      let mut i = 2;
      while i * i < n {
          if n % i == 0 {
              return false;
          } else {
              i += 1;
              continue;
          }
      }
      true
  }
  
  pub fn lcm(mut n: i32, mut m: i32) -> i32 {
      n = if n > m { m } else { n };
      m = if n > m { n } else { m };
      let mut i = n;
      while i % m != 0 {
          i += n;
      }
      i
  }
  
problem_description: Statement
  
  How many hours do we have until New Year at M o'clock (24-hour notation) on
  30th, December?
samples: [{"input": "21", "output": "27\n    \n\nWe have 27 hours until New Year at 21 o'clock on 30th, December.\n\n* * *"}, {"input": "12", "output": "36"}]