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