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