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