Task: Program Execution
Input (English): k, 8609, 4319, 9433
Output (English): 22361