Task: Program Execution
Input (English): g, q, 53, 167, j, 305
Output (English): 0, 1, 3, 5, 6, 7