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