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