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