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