Task: Program Execution
Input (English): 6407, 6729, 4035, 161, C, 4531, 4571, 4219, r, 1541, 331, m, j, U, 9153, 5649, D, p, 8063, l, h, B, C
Output (English): 6407, 6729, 4035, 161, 3, 4531, 4571, 4219, 18, 1541, 331, 13, 10, 21, 9153, 5649, 4, 16, 8063, 12, 8, 2, 3