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