output_description: Print the hour of the starting time of the contest in 24-hour time.
  
  * * *
input_description: The input is given from Standard Input in the following format:
  
      
      
      A B
attempt: fn main() {
      let a: i32 = read();
      let b: i32 = read();
      let ans = (a+b) % 24;
      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
  }
  
  pub fn abs(n: i32) -> i32 {
      if n >= 0 {
          n
      } else {
          -n
      }
  }
  
  pub fn max(n: i32, m: i32) -> i32 {
      if n >= m {
          n
      } else {
          m
      }
  }
  
  pub fn min(n: i32, m: i32) -> i32 {
      if n <= m {
          n
      } else {
          m
      }
  }
problem_description: Statement
  
  Dolphin loves programming contests. Today, he will take part in a contest in
  AtCoder.  
  In this country, 24-hour clock is used. For example, 9:00 p.m. is referred to
  as "21 o'clock".  
  The current time is A o'clock, and a contest will begin in exactly B hours.
  When will the contest begin? Answer in 24-hour time.
samples: [{"input": "9 12", "output": "21\n    \n\nIn this input, the current time is 9 o'clock, and 12 hours later it will be 21\no'clock in 24-hour time.\n\n* * *"}, {"input": "19 0", "output": "19\n    \n\nThe contest has just started.\n\n* * *"}, {"input": "23 2", "output": "1\n    \n\nThe contest will begin at 1 o'clock the next day."}]