use proconio::input; use std::collections::{ HashMap, BTreeSet }; fn main() { /* input! { n: usize, q: usize, mut a: [u128; n], } let mut not_include: BTreeSet = (0..=n).map(|i| i as u128).collect(); let mut counter: HashMap = (0..=n).map(|i| (i as u128, 0)).collect(); let n = n as u128; for e in &a { if e <= &n { *counter.get_mut(e).unwrap() += 1; not_include.remove(e); } } for _ in 0..q { input! { i: usize, x: u128, } let old = a[i]; *counter.get_mut(&old).unwrap() -= 1; if *counter.get_mut(&old).unwrap() == 0 { not_include.insert(old); } a[i] = x; *counter.get_mut(&x).unwrap() += 1; not_include.remove(&x); } */ input! { x: u64, } if x < 1200 { println!("green"); } else { println!("difficult"); } }