Task: Program Execution
Input (English): n, 341, m, 211, 417, u, j, 377, e
Output (English): 1, 2, 3, 4, 7