Given a 4x4 matrix with numbers :

Find numbers such that each of the is one of the numbers from 1 to 16 (each number is used exactly once), the sum of the numbers in each row and column sum to 34, and the sums of the following sets of numbers also equals 34: