If 20% and 50% is two numbers of any other number respectively, what is the ratio of both the numbers? The sum of three numbers is 47. One number is three more than the smallest number, and one number is twice the smallest number. What are the numbers?