Task: Program Execution
Input (English): H 1127 5993 h c 3751 6343 8423 p 1797 j 1173 C 4635 3275 h O 8865 7117 c 9909 F 983 E G x 3985 B A 7335 c N
Output (English): 8, 1127, 5993, 8, 3, 3751, 6343, 8423, 16, 1797, 10, 1173, 3, 4635, 3275, 8, 15, 8865, 7117, 3, 9909, 6, 983, 5, 7, 24, 3985, 2, 1, 7335, 3, 14