Task: Program Execution
Input (English): q, 3183, Q, i, t, j, y, Y, 8171, t, 4421, 3315, d, 3853, 6475, H, Z, P, 8101, 3383, 8723, 9493
Output (English): 17, 3183, 17, 9, 20, 10, 25, 25, 8171, 20, 4421, 3315, 4, 3853, 6475, 8, 26, 16, 8101, 3383, 8723, 9493