Problem

Source: VII International Festival of Young Mathematicians Sozopol 2016, Theme for 10-12 grade

Tags: number theory



Find all triples of natural numbers $(x,y,z)$ for which: $xyz=x!+y^x+y^z+z!$.