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