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