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