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