Task: Program Execution
Input (English): 7, h, c, k, n, 163, 431, i, 109
Output (English): 0, 1, 3, 4, 6, 7, 9