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