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