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