Task: Program Execution
Input (English): n, 3987, j, V, t, t, t, P, y, J, 8445, 1401, Y, 6717, R, 2527, 225, 385, i, 819, K, 3445, 3309
Output (English): 3987, 8445, 1401, 6717, 2527, 225, 385, 819, 3445, 3309