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