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