For a positive integer n, let ⟨n⟩ denote the perfect square integer closest to n. For example, ⟨74⟩=81, ⟨18⟩=16. If N is the smallest positive integer such that
⟨91⟩⋅⟨120⟩⋅⟨143⟩⋅⟨180⟩⋅⟨N⟩=91⋅120⋅143⋅180⋅N
find the sum of the squares of the digits of N.