Task: Program Execution
Input (English): a, v, y, 5915, 1647, 605, g, r, 7315, 2389, n, i, 4819
Output (English): a, g, i, n, r, v, y