Task: Program Execution
Input (English): 2217 u 1461 g o h Q 3839 6029 8675 7307 v 6375 9603 3469 z r c 1431 J K 7039 2887 q 2047
Output (English): 2217, 21, 1461, 7, 15, 8, 17, 3839, 6029, 8675, 7307, 22, 6375, 9603, 3469, 26, 18, 3, 1431, 10, 11, 7039, 2887, 17, 2047