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