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