Task: Program Execution
Input (English): g, A, a, 5309, 5545, m, U, 5233, 6483, 9245, 7953
Output (English): 1, 2, 3, 6, 7