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