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