Task: Program Execution
Input (English): 5923, A, Y, P, 5741, 4423, d, I, 7727, d, s, O
Output (English): 5923, 1, 25, 16, 5741, 4423, 4, 9, 7727, 4, 19, 15