Task: Program Execution
Input (English): 371, q, 23, 257, o, k, e, c
Output (English): 1, 2, 3, 5, 7