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