Task: Program Execution
Input (English): 1077, 1007, l, f, q
Output (English): l, f, q