Task: Program Execution
Input (English): 3171, 7107, 323, 361, 5025, 5579, 1145, A, w, e, 1247
Output (English): 3171, 7107, 323, 361, 5025, 5579, 1145, 1247