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