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