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