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