11 numbers are written in a row so that the sum of any three consecutive numbers is 18, and the sum of all the numbers is 64. Find the 6th number