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