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