Task: Program Execution
Input (English): 1, t, f, 475, 383
Output (English): 1, 3, 4, 5, 7, 8