Task: Program Execution
Input (English): 2907, 8647, F, N, 2973
Output (English): 2907, 8647, 2973