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