Task: Program Execution
Input (English): g, 6375, 9799, 6441, 7095, u, B, 5455, T, 5871, G
Output (English): 2, 3, 4, 5, 8, 10