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