Seven times the smaller of two numbers added with two times the larger number is 635. While seven times the larger number decreased by two times the smaller number is 871. Find the two numbers