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