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