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