Task: Program Execution
Input (English): g, 6723, 8235, 7607, A, Z, 8107, 4207, I, 4821, 2305, 5839
Output (English): 1, 5, 6, 9