Task: Program Execution
Input (English): x, 409, 627, 4531, W, Q, 5323, U, 2197, 1033, x, 7747, 181, Q, d, 585, a, i, g, 7581, 499, 5745
Output (English): 2, 3, 4, 7, 9, 10, 12, 13, 16, 20, 21, 22