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