Task: Program Execution
Input (English): 303, 171, q, 73, w
Output (English): 0, 1, 3, 7