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