#![allow(non_snake_case, unused_imports)] use itertools::Itertools; use proconio::{input, marker::Chars, marker::Usize1}; use std::cmp::{Reverse, max, min}; use std::collections::{BinaryHeap, HashMap, HashSet, VecDeque}; #[allow(unused_macros)] macro_rules! d { ( $( $x:expr ),* $(,)? ) => { eprintln!( concat!( $( stringify!($x), "={:?} " ),* ), $( $x ),* ); }; } #[allow(dead_code)] fn yn(b: bool) -> &'static str { if b { "Yes" } else { "No" } } const MOD: usize = 998244353; fn main() { input! { Q: usize, } for i in 0..Q { input! { t: usize } let res = if t == 1 { input! { A: usize, B: usize } A + B } else { i + 1 }; println!("{}", res); } }