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