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