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