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