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