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