Task: Program Execution
Input (English): n, 2275, 8021, 247, H, E, 9307, 8703, 457, h, f, 4463, Z, O, 2167, G, O, 9385, 1199, n
Output (English): 46224