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