use proconio::{input, marker::Usize1}; fn main() { input! { a: i32, b: i32, c: i32, d: i32, } let h = 31 - a + b; let ans = if c <= h { 1 } else if d <= h { 2 } else { 3 }; println!("{ans}"); }