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