Task: Program Execution
Input (English): X 401 F n 875 j a C 4043 4659 7989 Q 625 8629 q 8283 u 7849 797 9867 P E 7031 5839 a A X 6149 u E 7839 N
Output (English): 24, 401, 6, 14, 875, 10, 1, 3, 4043, 4659, 7989, 17, 625, 8629, 17, 8283, 21, 7849, 797, 9867, 16, 5, 7031, 5839, 1, 1, 24, 6149, 21, 5, 7839, 14