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