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