Task: Program Execution
Input (English): r, n, 5881, 9531, k, 6551, n, 2365, 5663, m
Output (English): k, m, n, r