Task: Program Execution
Input (English): d, q, f, b, 277, 403, 487, c
Output (English): 0, 2, 3, 4, 7, 8