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