Task: Program Execution
Input (English): t, 41, e, 257, w
Output (English): 1, 2, 4, 5, 7