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