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