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