Task: Program Execution
Input (English): 1311 6057 p A V B j 6687 x 6913 k D 7789 Q 7049 8127 t v A 2213 3541 9815 B q 41
Output (English): 1311, 6057, 16, 1, 22, 2, 10, 6687, 24, 6913, 11, 4, 7789, 17, 7049, 8127, 20, 22, 1, 2213, 3541, 9815, 2, 17, 41