1. There are 10 successive parking spaces in a car park. 7 cars are going to park into these spaces. If it is required that the 3 unoccupied spaces are next to eah other,in how many ways can the spaces be assigned to the cars?
2. There are 8 members in a swimming club. To participate in a medley relay,a team of four members will be selected to swim in butterfly,backstoke,breaststroke and freestyle respectively. It is known that three members of the club cannot swim in butterfly only and the others are able to swim in any stroke. Find the number of ways of forming the swimming team.
Thanks!