There are 6 baskets on the table. Each basket has 8, 18, 17, 4, 9 and 7 apples. Emma chose first, Liam chose second, Sean chose sixth, Matt chose third, Olivia chose fourth, and John chose fifth. How many apples did Matt and Sean choose in total?