Task: Program Execution
Input (English): g, 185, 265, m, 181, w, 223
Output (English): 1, 2, 3, 5, 6, 8