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