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