The first term of geometric sequence is 512 and the common ratio is 0.5 what is the 8th term of the sequence?