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