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