The first term of a sequence is 13. Starting with the second term, each term is the sum of the cubes of the digits in the previous term. For example, the second term is Find the 6th term.