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