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