Task: Program Execution
Input (English): i, 3939, 531, 1355, 863, T
Output (English): 3939, 531, 1355, 863