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