Task: Program Execution
Input (English): l, 1047, 8699, Q
Output (English): 2