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