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