Task: Program Execution
Input (English): o, 365, h, k, k, 299, 407
Output (English): 0, 2, 3, 4, 5, 6, 7, 9