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