Task: Program Execution
Input (English): 5311 Q 8741 1085 S 7455 1165 6367 4427 E 6721 409 T 3595 5351 7107 w E v 2111 7403 h X d 4177 C 1395 k i T 5823
Output (English): 1, 3, 4, 6, 7, 8, 9, 11, 12, 14, 15, 16, 20, 21, 25, 27, 31