Task: Program Execution
Input (English): 5259, g, l, y, 4519, G, p, n, d, D, j, 6679, Z, X, 371, 825, G, 6975, Z
Output (English): g, l, y, G, p, n, d, D, j, Z, X, G, Z