Task: Program Execution
Input (English): 5327, 6543, 6247, w, Z, 5171
Output (English): 23288