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