Task: Program Execution
Input (English): t, q, 1813, i
Output (English): i, q, t