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