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