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