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