1786 solution.
1796 solution.
1404 solution.