Task: Program Execution
Input (English): 7881, 6593, 1747, 9593, 1131, d, 3971, 877, 3203, 9719, 4695, M, J, L
Output (English): 7881, 6593, 1747, 9593, 1131, 4, 3971, 877, 3203, 9719, 4695, 13, 10, 12