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