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