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