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