Task: Program Execution
Input (English): v, O, 5027, D, 5595, 2673, c, n, 9721, z, 3071, g, K, 5929, P, p, A, 3193, 6563, z, G
Output (English): 5027, 5595, 2673, 9721, 3071, 5929, 3193, 6563