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