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