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