bool a: [0,1) true; [1,1] false; (1,3) true;
bool b: [0,1) false; [1,1] true; (1,3) false;

bool inputAUntilB: [0,1) true; [1,3) false; 