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