There are 10 Swedes and 7 Finns. We should choose a committee that consists of 9 people. The committee has a chairman and a vice-chairman, which should be from different nations. Moreover, apart from these two people, both nations should be represented in the remaining 15 people. How many possibilities are there?