Task: Program Execution
Input (English): 7337, A, 6487, G, 1303, N, 9769, 9749, 1739, 1653, S, 6655, D, c, 3969, k, s
Output (English): 7337, 1, 6487, 7, 1303, 14, 9769, 9749, 1739, 1653, 19, 6655, 4, 3, 3969, 11, 19