Task: Program Execution
Input (English): j, 1683, Q, w, x, v, 1483, 3301, 5673, 8695, 8651, S
Output (English): j, Q, w, x, v, S