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