Question 47Find the number of ordered triples $(a, b, c)$ of pairwise distinct integers such that $-31 \leq a, b, c \leq 31$ and $a+b+c\gt 0$.