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