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