#![allow( dead_code, non_snake_case, unused_imports, unused_mut, unused_variables, while_true, unused_assignments, clippy::needless_range_loop, clippy::ptr_arg, clippy::type_complexity, clippy::unnecessary_cast )] use proconio::{ input, marker::{Chars, Usize1 as usize1}, source::line::LineSource, }; use std::collections::BTreeSet; use std::collections::{BinaryHeap, HashMap, HashSet, VecDeque}; use std::io::{BufReader, Write, stdin, stdout}; fn main() { let stdin = stdin(); let mut source = LineSource::new(BufReader::new(stdin.lock())); println!("{} {}", 1 << 15, 1 << 16); stdout().flush().unwrap(); input! { from &mut source, K: usize, }; println!("{}", K % 2); stdout().flush().unwrap(); input! { from &mut source, ret: usize, }; assert!(ret == 1); }