Task: Program Execution
Input (English): h, 165, 243, p, 495, t, a, 175, 29, t, h
Output (English): 1, 2, 3, 4, 5, 6, 7, 9