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