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