IntermediateRating 1100
Parking Lot
A lot has k spaces numbered 1..k. Events are
in CAR (park in the lowest free space and print it, or print FULL) and out CAR. Process them until END.Input
k, then events, then END.
Output
One line per in.
Sample 1
Input
2 in A in B in C out A in D END
Output
1 2 FULL 1
Sample 2
Input
1 out X in Y END
Output
1
Output appears here