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