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