The sum of the first three terms of the arithmetic progression is 30 and the sum of the squares of the first term and the second term of the same progression is 116. Find the seventh term of the progression if its fifth term is known to be exactly divisible by 14.