#include int main(){ int ask = 0x20000000; bool flag = false; while(!flag){ std::cout << ask << std::endl; std::cin >> flag; ask >>= 1; } return 0; }