Task: Program Execution
Input (English): p, 7529, w, O, 3387, 4063, 7171, j, 9667, 2185, P, 395, M, 9247, K, V
Output (English): 7529, 3387, 4063, 7171, 9667, 2185, 395, 9247