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