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