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