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