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