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