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