Task: Program Execution
Input (English): 4695, U, 6515, 6573, 9109, S, T, F, T, 4471
Output (English): 5