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