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