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