Task: Program Execution
Input (English): g, m, 105, 183, o, 313, 383
Output (English): 0, 1, 3, 5, 8