Task: Program Execution
Input (English): 9847 8937 6749 l z i E 7043 M 6049 J 8791 N 1039 6497 v w 5865 n 1849 h 2713 A 4785 L 4773 s 7511 k 7803 6453
Output (English): 9847, 8937, 6749, 12, 26, 9, 5, 7043, 13, 6049, 10, 8791, 14, 1039, 6497, 22, 23, 5865, 14, 1849, 8, 2713, 1, 4785, 12, 4773, 19, 7511, 11, 7803, 6453