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