Task: Program Execution
Input (English): 977, a, 1361, a, 1161, n, 515, u, 8923, c, 4037, 7891, 8721, k, x
Output (English): a, c, k, n, u, x