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