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