non duplicated values exercise