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