Task: Program Execution
Input (English): h, 227, e, g, o, z, 47, 143
Output (English): 1, 2, 3, 4, 7