Warning! The page was not fully loaded, probably because of a network issue. It could be that not all functionalities work as expected. Please try reloading the page.
Write a predicate remove_n(List,Pos,Result) that indicates that Result is the result of removing Pos form the list List.
If Pos is not a valid index in the list, the predicate should fail.