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