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