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