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