Task: Program Execution
Input (English): 5483, 1893, M, k, 8247, 2387, 6471, M, g, p, T, e, 4327, V, v, 1519, g, A, 9579, j, F
Output (English): 5483, 1893, 8247, 2387, 6471, 4327, 1519, 9579