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