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