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