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