Lists comparing and base remainder