Task: Program Execution
Input (English): v B s Q C U a G 3587 3143 8165 6875 n 9017 1917 6699 V N e 5193 Q 6633 2085 Q 8933 9195
Output (English): 22, 2, 19, 17, 3, 21, 1, 7, 3587, 3143, 8165, 6875, 14, 9017, 1917, 6699, 22, 14, 5, 5193, 17, 6633, 2085, 17, 8933, 9195