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