Task: Program Execution
Input (English): 357, j, 51, 85, 151, k, 123, x, u
Output (English): 1, 2, 3, 5, 7, 8