Task: Program Execution
Input (English): w, F, 5841, 4187, x, 1807, 6307, K, 7077, e, 5507, i, X, P, 4203, 287, S, W, 8407, 5695
Output (English): w, F, x, K, e, i, X, P, S, W