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