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