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