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