If three times the larger of the two numbers is divided by the smaller one, we get 4 as the quotient and 3 as the remainder. Also, if seven times the smaller number is divided by the larger one, we get 5 as the quotient and 1 as the remainder. Find the numbers.