Task: Program Execution
Input (English): 5543, 21, g, d, h, 9461, 6537, 939, J, g, d, 5041, 5489, 9089, e, c
Output (English): 5543, 21, 7, 4, 8, 9461, 6537, 939, 10, 7, 4, 5041, 5489, 9089, 5, 3