Task: Program Execution
Input (English): i, m, 5027, u, j, 2861, 6365, 2977, 4955, w, n, g, m, 4211, 5099
Output (English): g, i, j, m, n, u, w