Task: Program Execution
Input (English): 1847, u, l, 13, U, F, R, 7751, 3657, 8513, 1925
Output (English): 2, 3, 5, 6, 7