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