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