Task: Program Execution
Input (English): y, B, 9701, O, 5183, 7875, a, 9387, F, 9179, B, A, N, y, 3573, 4229
Output (English): 25, 2, 9701, 15, 5183, 7875, 1, 9387, 6, 9179, 2, 1, 14, 25, 3573, 4229