Task: Program Execution
Input (English): a, 9, m, r, 441, 261, y, 371
Output (English): 1, 2, 3, 4, 6, 7, 9