Task: Program Execution
Input (English): N 4899 v 8611 2967 C X q N X L y 2053 k 3889 y 6629 8779 o D 2419 1201 9639 9715 M 4695 6767 2567
Output (English): 14, 4899, 22, 8611, 2967, 3, 24, 17, 14, 24, 12, 25, 2053, 11, 3889, 25, 6629, 8779, 15, 4, 2419, 1201, 9639, 9715, 13, 4695, 6767, 2567