Task: Program Execution
Input (English): T, D, 1225, s, 809, 2959, 8257, A, 6989, 5203, N, 1807, J, A
Output (English): T, D, s, A, N, J, A