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