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