Task: Program Execution
Input (English): 97, 2285, 8505, 2399, 5343, 6787, P, 6773, Q, W, t, J, p, P, p
Output (English): 97, 2285, 8505, 2399, 5343, 6787, 16, 6773, 17, 23, 20, 10, 16, 16, 16