In a particular​ year, a total of 40 comma 285 students studied in two of the most popular host countries when traveling abroad. If 8495 more students studied in the most popular host country than in the second most popular host​ country, find how many students studied abroad in each country.?