Task: Program Execution
Input (English): 7739, 9017, P, 1833, z, 6497, C, y, 169, 4393, x, 5101, 3975, M, Z, c, p, 8547
Output (English): 7739, 9017, 16, 1833, 26, 6497, 3, 25, 169, 4393, 24, 5101, 3975, 13, 26, 3, 16, 8547