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