Task: Program Execution
Input (English): 347, 189, d, m, h, k, m, 345, 191, 303, 37, 369
Output (English): 0, 1, 3, 4, 5, 6, 7, 8, 9