#include using namespace std; int main(){ int s, r; scanf("%d %d", &s, &r); while(s>0){ int line[100000]={0}; for(int i=0; i0; left_seek--); for(right_seek=right-1; line[right_seek]==0 && right_seek