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