Task: Program Execution
Input (English): 1161, t, 7589, 1283, 3107, A, 1103, N, 1949, T
Output (English): t, A, N, T