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