Using only once each of the digits $1, 2, 3, 4, 5, 6, 7$, and $8$, write the square and the cube of a positive integer. Determine what that number can be.

Let's think step by step and output the final answer within \boxed{}.
user