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