I want to know if fermats last theorem can be extended to more than three variables

I just recently read about fermats last theorem. However, most of the statements of the problem use three variables. Such as x^n+y^n=z^n my question is, those it hold true for all cases such as x^n+y^n+…=z^n+w^n+…