Task: Program Execution
Input (English): 299, 2367, f, t, r, 5507, W
Output (English): 299, 2367, 5507