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