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