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