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