7. For integer $n>1$, let $x=1+\frac{1}{2}+\cdots+\frac{1}{n}$, $y=\lg 2+\lg 3+\cdots+\lg n$. Then the set of all integers $n$ that satisfy $[x]=[y]$ is $\qquad$ ( [a] denotes the greatest integer not exceeding the real number $a$).
7. $\{5,6\}$