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