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