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