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