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