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