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