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