Task: Program Execution
Input (English): 8185, 7423, 481, 4469, 5421, b, M, K, 8511, 6765, n, p, o, 8695, N, 1037, N, d, 5401, f, D, 3871
Output (English): 8185, 7423, 481, 4469, 5421, 2, 13, 11, 8511, 6765, 14, 16, 15, 8695, 14, 1037, 14, 4, 5401, 6, 4, 3871