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