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