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