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