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