Task: Program Execution
Input (English): 7497, 6517, 4699, 5705, 8363, h, f, V, z, v, R, 3321, 211, 2193, 6985, 4331, 2059, 2679, S, 5243, Q, r, R, 9173
Output (English): 7497, 6517, 4699, 5705, 8363, 8, 6, 22, 26, 22, 18, 3321, 211, 2193, 6985, 4331, 2059, 2679, 19, 5243, 17, 18, 18, 9173