Kelly and Justin each win monetary prizes on the TV show US Icon. Kelly immediately deposits her money in an account paying 6.2 percent effective, while Justin immediately deposits his in an account paying 5.6 percent effective. After 7 years, they decide to get married, and discover that they have a total of dollars combined in their two accounts. If the sum of their original prizes was 50000 dollars, how much did Justin originally win?

Answer = dollars.