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