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