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