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