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