Task: Program Execution
Input (English): q, o, 1171, 5577, p
Output (English): o, p, q