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