Task: Program Execution
Input (English): 8651, 1565, 4427, T
Output (English): 8651, 1565, 4427