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