Task: Program Execution
Input (English): 1561 9041 6897 4243 f Q 8785 907 c 7867 9397 x 9757 215 r R h Z i G 505 v 4915 8735 I J 7195 5537 7561
Output (English): 1561, 9041, 6897, 4243, 6, 17, 8785, 907, 3, 7867, 9397, 24, 9757, 215, 18, 18, 8, 26, 9, 7, 505, 22, 4915, 8735, 9, 10, 7195, 5537, 7561