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