Task: Program Execution
Input (English): w, 27, z, 177, 105, d, 321, d
Output (English): 0, 1, 2, 3, 5, 7