Six numbers are written in a line. The third number is the sum of the first and the second numbers. The fourth number is the sum of the second and the third numbers. The fifth number is the sum of the third and the fourth numbers. The last number is the sum of the fourth and the fifth numbers. Find the sum of the six numbers if the fifth number is 9.