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