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