Task: Program Execution
Input (English): 5463, g, H, M, 5425, Q, g, 79, d, 4527, H, h
Output (English): 5463, 7, 8, 13, 5425, 17, 7, 79, 4, 4527, 8, 8