Task: Program Execution
Input (English): N, 6541, V, b, s, 4653, 9285, Z, 4255
Output (English): 2, 6, 7, 9