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