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