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