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