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