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