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