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