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