Task: Program Execution
Input (English): 3201, q, 6051, 7485
Output (English): 16737