Task: Program Execution
Input (English): w, 1587, 4891, 9751, 3863, S, 173, x, h, N, k
Output (English): 1587, 4891, 9751, 3863, 173