Task: Program Execution
Input (English): 1057 N k A r C 3701 M R T 3709 7417 Q B t r 5015 9139 9765 9607 A 4553 4713 3361 j 4577 s
Output (English): 1057, 14, 11, 1, 18, 3, 3701, 13, 18, 20, 3709, 7417, 17, 2, 20, 18, 5015, 9139, 9765, 9607, 1, 4553, 4713, 3361, 10, 4577, 19