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