Find the The sum of the squares of two consecutive natural numbers is 313. Find the numbers.​