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