Task: Program Execution
Input (English): 5117, 6219, 7305, q, L
Output (English): q, L