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