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