Task: Program Execution
Input (English): z, k, 8711, 5051, 993, h, g, q, q, U
Output (English): 14755