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