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