void aaa(){
  while(bbb());
 }

int bbb(){
  int a;
  cin >> a;
  switch(a){
  case 1:
   return 0;
  case 2:
  }
 return 1;
 }