Task: Program Execution
Input (English): 8097, 2397, 1751, Z, 9643, G, p, 2757, 7167, 2477, 1711, 8131, 5115, 3177, 2503, S, 851, 5481, H, 3671
Output (English): 8097, 2397, 1751, 26, 9643, 7, 16, 2757, 7167, 2477, 1711, 8131, 5115, 3177, 2503, 19, 851, 5481, 8, 3671