Task: Program Execution
Input (English): z, 3241, G, f, 6537, M, N, M, w, k, L, n, L, 9751, x, H, 9853, i, 3607, H, p, y
Output (English): 3241, 6537, 9751, 9853, 3607