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