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