Task: Program Execution
Input (English): h, R, 4291, u, d, 7921, 9765, 4995, 7545, O
Output (English): 3, 6, 7, 8, 9