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