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