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