Task: Program Execution
Input (English): 4619, 9725, 1163, 6573, 2683, k, 7195, r, 5513, 1729, r, L
Output (English): 4619, 9725, 1163, 6573, 2683, 7195, 5513, 1729