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