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