Task: Program Execution
Input (English): 261, m, 271, j, 479, n, f
Output (English): 1, 2, 4, 6, 7, 9