BlueBook - Cross Country
View as PDFBlueBook
Given a two character code, decide if the code represents either:
| Code | Output | 
|---|---|
| MG | midget girls | 
| MB | midget boys | 
| JG | junior girls | 
| JB | junior boys | 
| SG | senior girls | 
| SB | senior boys | 
All codes are case sensitive, and will always be two characters long. Be
sure to reject invalid codes by outputting invalid code. Also, output
what each code represents, as stated exactly.
Input Specification
Input consists of a two character code representing either one of the six categories described above.
Output Specification
Output the full description of the code. If the code does not exist,
output invalid code.
Sample Input
JG
Sample Output
junior girls
Comments