Task: Program Execution
Input (English): m, n, 4523, 6549, 2461, q, z
Output (English): m, n, q, z