Task: Program Execution
Input (English): o, 9015, 3639, y, S, p, P, 9987, d, R, y, P, 1983, t, 1701, K, 2609, 6561, m
Output (English): 15, 9015, 3639, 25, 19, 16, 16, 9987, 4, 18, 25, 16, 1983, 20, 1701, 11, 2609, 6561, 13