Task: Program Execution
Input (English): g, b, 83, 161
Output (English): 1, 3, 6, 8