Finding double number in an sequence of single numbers