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