# 2017 Rules

How many ordered triples of natural numbers $(x,y,z)$ satisfy the system

$\large \begin{cases} x^2 + y^2 + z^2 = 2017\\x+yz=2017 \end{cases}$

×