Task: Program Execution
Input (English): 4175, m, Q, u, 4507, F, q, H, 5245, 9217, C, S, x, J, 7433, 4771, 1845, 5591, B, 1005, F, c, K
Output (English): 4175, 13, 17, 21, 4507, 6, 17, 8, 5245, 9217, 3, 19, 24, 10, 7433, 4771, 1845, 5591, 2, 1005, 6, 3, 11