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