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