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