Task: Program Execution
Input (English): 87, 287, m, 273, j, 71, 471, n, 421, b, 245
Output (English): 1, 2, 3, 4, 5, 7, 8