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