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