Task: Program Execution
Input (English): 5289 C 737 n 2315 3949 1501 4221 2339 z c 6053 4165 f 2917 M z Z 8951 9195 9233 9041 5837 m d V 2683 2869 h p 3475 9737 8257
Output (English): 5289, 3, 737, 14, 2315, 3949, 1501, 4221, 2339, 26, 3, 6053, 4165, 6, 2917, 13, 26, 26, 8951, 9195, 9233, 9041, 5837, 13, 4, 22, 2683, 2869, 8, 16, 3475, 9737, 8257