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