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