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