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