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