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