Deletes irrelevant numbers