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