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