$\displaystyle x^3 + y^3 + z^3 = 2008$

Find all triples (x,y,z) for this equation where x, y, and z are natural numbers

I figured out all the triples just through trial but I don't understand how you're supposed to figure it out. Can someone help me?