A bus that have a front door and a back door.
The bus driver determines that girls get on the bus from the front door and boys get on the bus from the back door.
The input consists of two things.
First is bus number.
Second is passenger’s sex and name (The length of the name will not bigger than 30.).
0 means newline also means new link list
Please list the whole bus passenger’s name by the front to the end.
Each answer is followed by a newline "\n",namely std::endl;