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