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