Task: Program Execution
Input (English): 1161, 9029, 2987, q, w
Output (English): q, w