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