Task: Program Execution
Input (English): b, n, 369, 199, r, 165, 63, y, 331, 57
Output (English): 1, 3, 5, 6, 7, 9