Task: Program Execution
Input (English): 7945, 9665, Y, 2941, 9501, 7985, 8581, 8197, 4073, 1093, F, V, 7577, 7313
Output (English): 7945, 9665, 2941, 9501, 7985, 8581, 8197, 4073, 1093, 7577, 7313