BlueBook - Cross Country

View as PDF

Submit solution

Points: 3
Time limit: 1.0s
Memory limit: 16M

Problem type
BlueBook

Given a two digit 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 letters 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 two character code representing either one of the six categories described above.

Output Specification

Ouput the full description of the code. If the code does not exist, output invalid code.

Sample Input

JG

Sample Output

junior girls

Comments

There are no comments at the moment.