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