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