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