Task: Program Execution
Input (English): 293 3365 X w u K z c d C 1291 v O 6117 v Z j 307 9313 a l j 5963 1109 u D h 9833 6003 P b c
Output (English): 293, 3365, 24, 23, 21, 11, 26, 3, 4, 3, 1291, 22, 15, 6117, 22, 26, 10, 307, 9313, 1, 12, 10, 5963, 1109, 21, 4, 8, 9833, 6003, 16, 2, 3