Leonard sells small watermelons for $7 each and large watermelons for $10 each.One day the number of small watermelons he sold was fifteen more than the number of large watermelons, and he made a total of 394. How many small and how many large watermelons did he sell?