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