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