Task: Program Execution
Input (English): P d h 3675 4097 8175 J 2969 7661 3369 4853 D r 5063 c 1449 5189 4751 e g 7321 J 6611 B 9913 5165 7245 9539
Output (English): 16, 4, 8, 3675, 4097, 8175, 10, 2969, 7661, 3369, 4853, 4, 18, 5063, 3, 1449, 5189, 4751, 5, 7, 7321, 10, 6611, 2, 9913, 5165, 7245, 9539