Solve the equation cosnxsinnx=1\cos^n x - \sin^n x = 1, where nn is a natural number.