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