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