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