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