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