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